From a4615efa38693c03ca4e179cc804fc36cb070304 Mon Sep 17 00:00:00 2001 From: "stephane.david" Date: Sat, 11 Jul 2026 16:22:08 +0200 Subject: [PATCH] Changed to webdav --- get_network_config.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/get_network_config.yml b/get_network_config.yml index 1ea3f4c..614793e 100644 --- a/get_network_config.yml +++ b/get_network_config.yml @@ -43,6 +43,7 @@ user: "{{ nas_user }}" password: "{{ nas_pass }}" force_basic_auth: yes - body: "{{ lookup('file', '/tmp/config_' ~ inventory_hostname ~ '.txt') }}" + body_file: "/tmp/config_{{ inventory_hostname }}.txt" status_code: 201, 204 - validate_certs: no \ No newline at end of file + validate_certs: no + delegate_to: "{{ inventory_hostname }}" \ No newline at end of file