Changed to webdav
This commit is contained in:
@@ -43,6 +43,7 @@
|
|||||||
user: "{{ nas_user }}"
|
user: "{{ nas_user }}"
|
||||||
password: "{{ nas_pass }}"
|
password: "{{ nas_pass }}"
|
||||||
force_basic_auth: yes
|
force_basic_auth: yes
|
||||||
body: "{{ lookup('file', '/tmp/config_' ~ inventory_hostname ~ '.txt') }}"
|
body_file: "/tmp/config_{{ inventory_hostname }}.txt"
|
||||||
status_code: 201, 204
|
status_code: 201, 204
|
||||||
validate_certs: no
|
validate_certs: no
|
||||||
|
delegate_to: "{{ inventory_hostname }}"
|
||||||
Reference in New Issue
Block a user