From ac4fbe37449e829c7a2720ab7b482ce5c0891abb Mon Sep 17 00:00:00 2001 From: "stephane.david" Date: Sat, 11 Jul 2026 16:29:32 +0200 Subject: [PATCH] Changed to webdav --- get_network_config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/get_network_config.yml b/get_network_config.yml index fd59e68..c6e46cd 100644 --- a/get_network_config.yml +++ b/get_network_config.yml @@ -8,7 +8,7 @@ nas_url: "https://dartydisk5.maison:5006" # ex: https://192.168.1.10:5006 nas_path: "/Datas/NetworkConfigs" # dossier WebDAV nas_user: "stephane.david" - nas_pass: "St\&ph@ne" + nas_pass: "St&ph@ne" tasks: # ------------------------------------------------------- @@ -38,7 +38,7 @@ - name: Upload vers NAS via WebDAV shell: | - curl -k -u {{ nas_user }}:{{ nas_pass }} \ + curl -k -u '{{ nas_user }}:{{ nas_pass }}' \ -T /tmp/config_{{ inventory_hostname }}.txt \ "{{ nas_url }}{{ nas_path }}/config_{{ inventory_hostname }}.txt" delegate_to: "{{ inventory_hostname }}" \ No newline at end of file