ajout copie distante

This commit is contained in:
Johan Largy
2023-01-31 08:23:21 +01:00
parent 3cbae83a73
commit 761d3a00bc
2 changed files with 6 additions and 2 deletions

View File

@@ -14,8 +14,9 @@
name: wireguard-tools
state: present
#- name: copie du fichier de configuration depuis r-vp1
# command: "sshpass -p 'root' scp -r root@192.168.99.112:/root/confwg/wg0-b.conf /etc/wireguard/"
- name: copie du fichier de configuration depuis r-vp1
command: "wget http://r-vp1.gsb.adm:8000/wg0-b.conf"
#- name: renommage du fichier de configuration
# command: "mv /etc/wireguard/wg0-b.conf /etc/wireguard/wg0.conf"