mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
update playbook
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user