add role for samba-install, grub-config, update network and handlers

This commit is contained in:
Alexander Grothe
2017-02-23 13:15:04 +01:00
parent 9fe824e452
commit 228ac70b5e
16 changed files with 530 additions and 71 deletions

View File

@@ -0,0 +1,17 @@
# file: roles/samba-config/tasks/main.yml
# TODO:
#- name: divert original smbd.conf
- name: create smb.conf.custom
file:
state: touch
dest: '/etc/samba/smb.conf.custom'
notify: [ 'Restart Samba' ]
- name: expand template for smb.conf
template:
src: 'templates/smb.conf.j2'
dest: '/etc/samba/smb.conf'
#validate: 'testparm -s %s'
notify: [ 'Restart Samba' ]