Compare commits
1 Commits
v0.0.4h-jl
...
v0.0.4i-em
Author | SHA1 | Date | |
---|---|---|---|
aadc552dc3 |
@ -1,4 +1,6 @@
|
||||
- name:
|
||||
---
|
||||
- name: installation des paquets web
|
||||
apt:
|
||||
- apache2
|
||||
- php
|
||||
- php-mbstring
|
||||
|
@ -14,9 +14,8 @@
|
||||
name: wireguard-tools
|
||||
state: present
|
||||
|
||||
|
||||
- name: copie du fichier de configuration depuis r-vp1
|
||||
command: "wget http://r-vp1.gsb.adm:8000/wg0-b.conf"
|
||||
#- 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"
|
||||
|
@ -39,6 +39,3 @@
|
||||
name: wg-quick@wg0
|
||||
enabled: yes
|
||||
state: restarted
|
||||
|
||||
- name: ouverture port 8000 pour copie fichier config
|
||||
command: "cd ~/confwg/ && python3 -m http.server 8000 &"
|
||||
|
Reference in New Issue
Block a user