add cifsmount role

This commit is contained in:
aaron
2021-08-24 13:18:59 +02:00
parent fe73f4f03d
commit 87808eb999
11 changed files with 222 additions and 0 deletions

19
defaults/main.yml Normal file
View File

@@ -0,0 +1,19 @@
---
# share configs
cifs_connections:
- name: webshop
user: shareuser
pass: changeme
mountpoint: '/share'
domain: myshare.com
share: 'O:\\some\weird\windows\share'
# local
cifs_credsfile_path: '/root'
cifs_credsfile_mode: '0600'
cifs_credsfile_owner: root
cifs_mount_root_path: '/mnt'
cifs_dir_mode: '0777'
cifs_file_mode: '0777'
cifs_persist_config: false