commenté sshpass dans main.yml
This commit is contained in:
parent
073c529f19
commit
d3c3ef1fdc
@ -9,13 +9,13 @@
|
||||
name: wireguard-tools
|
||||
state: present
|
||||
|
||||
- name: installation de sshpass
|
||||
apt:
|
||||
name: sshpass
|
||||
state: present
|
||||
#- name: installation de sshpass
|
||||
# apt:
|
||||
# name: sshpass
|
||||
# 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: "sshpass -p 'root' scp -r root@192.168.99.112:/root/confwg/wg0-b.conf /etc/wireguard/"
|
||||
|
||||
- name: renommage du fichier de configuration
|
||||
command: "mv /etc/wireguard/wg0-b.conf /etc/wireguard/wg0.conf"
|
||||
|
Loading…
x
Reference in New Issue
Block a user