debian@ap-33ans
This commit is contained in:
22
vpn/wp.yml
Normal file
22
vpn/wp.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
- name:
|
||||
hosts: ap33-test
|
||||
become: yes
|
||||
|
||||
tasks:
|
||||
|
||||
- name: Installer Wireguard et Wireguardtools
|
||||
apt:
|
||||
- wireguard
|
||||
- wireguard-tools
|
||||
state: present
|
||||
update_cache: yes
|
||||
|
||||
- name: Copie fichier mkwgconfsh
|
||||
ansible.builtin.copy:
|
||||
src: mkwgconf.sh
|
||||
dest: /tmp/
|
||||
|
||||
- name: Lancement du script
|
||||
ansible.builtin.shell:
|
||||
cmd: bash /tmp/mkwgconf.sh
|
||||
Reference in New Issue
Block a user