mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-02 03:37:40 +02:00
update playbook
This commit is contained in:
parent
f1d2879a57
commit
2dc779a1e6
@ -93,16 +93,19 @@
|
||||
|
||||
- block:
|
||||
|
||||
- name: update samba config
|
||||
- name: update samba config for global
|
||||
ini_file:
|
||||
dest: /etc/samba/smb.conf
|
||||
section: global
|
||||
option: guest account
|
||||
value: pi
|
||||
section: "{{ item.section }}"
|
||||
option: "{{ item.option }}"
|
||||
value: "{{ item.value }}"
|
||||
with_items:
|
||||
- {section: global, option: guest account, value: pi}
|
||||
- {section: global, option: netbios name, value: pi}
|
||||
notify:
|
||||
- restart samba
|
||||
|
||||
- name: update samba config again
|
||||
- name: update samba config for share
|
||||
blockinfile:
|
||||
dest: /etc/samba/smb.conf
|
||||
insertafter: EOF
|
||||
|
Loading…
Reference in New Issue
Block a user