debian@ap-33ans

This commit is contained in:
Your Name
2025-12-05 08:14:54 +00:00
commit a56518aa77
8 changed files with 129 additions and 0 deletions

22
vpn/wp.yml Normal file
View 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