2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01:00

update playbook

This commit is contained in:
kev
2016-04-07 01:06:51 +08:00
parent ed6f165d9a
commit f1d2879a57

View File

@@ -91,7 +91,18 @@
- restart nginx
changed_when: yes
- block:
- name: update samba config
ini_file:
dest: /etc/samba/smb.conf
section: global
option: guest account
value: pi
notify:
- restart samba
- name: update samba config again
blockinfile:
dest: /etc/samba/smb.conf
insertafter: EOF
@@ -99,11 +110,10 @@
[share]
path = /home/pi/share
browseable = yes
read only = yes
read only = no
guest ok = yes
notify:
- restart samba
changed_when: yes
handlers: