add roles
This commit is contained in:
11
ansible/group_vars/nas/nas_vars.yml
Normal file
11
ansible/group_vars/nas/nas_vars.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
# Переменные для настройки файлового сервера
|
||||
|
||||
nas_samba_pkg: samba
|
||||
|
||||
nas_samba_service:
|
||||
- smb
|
||||
- nmb
|
||||
|
||||
smb_share: /share/sambashare
|
||||
smb_share_grp: "domain users"
|
||||
smb_conf_file: /etc/samba/smb.conf
|
||||
10
ansible/group_vars/nas/share.conf
Normal file
10
ansible/group_vars/nas/share.conf
Normal file
@@ -0,0 +1,10 @@
|
||||
[sambashare]
|
||||
comment = Общая директория Samba
|
||||
path = /share/sambashare
|
||||
writable = yes
|
||||
browseable = yes
|
||||
guest ok = no
|
||||
write list = @"ALT\domain users"
|
||||
force group = "ALT\domain users"
|
||||
force create mode = 0666
|
||||
force directory mode = 0775
|
||||
Reference in New Issue
Block a user