Files
SDIS-29-3.p2/vpn/wp.yml
2025-12-05 08:14:54 +00:00

23 lines
416 B
YAML

---
- 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