From ea95044a7dc2d41c70e6653895a6129b31daaa62 Mon Sep 17 00:00:00 2001 From: uap33-2025-r Date: Thu, 14 Nov 2024 16:50:51 +0100 Subject: [PATCH] Actualiser ansible/wg.yml --- ansible/wg.yml | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/ansible/wg.yml b/ansible/wg.yml index 4d39baa..8fb6120 100644 --- a/ansible/wg.yml +++ b/ansible/wg.yml @@ -1,6 +1,5 @@ --- - hosts: wg -<<<<<<< HEAD become: yes tasks: - name: arrete unattended-upgrades @@ -34,7 +33,7 @@ - name: récupération du fichier wg0-2.conf vers ap33-ans fetch: src: wg0-2.conf - dest: wg0-2.conf + dest: wg0-2.conf flat: yes - hosts: wg @@ -64,27 +63,3 @@ service: name: wg-quick@wg0.service state: restarted -======= - tasks: - - name: installe Wireguard - apt: - name: - - wireguard - - wireguard-tools - state: present - -- hosts: wg-master - tasks: - - name: copie le fichier wg1-a.conf et wg1-b.conf vers les machines master et cli - copy: - src: mkwgconf.sh - dest: mkwgconf.sh - flat: yes - - name: generations fichier configuration wireguard wg0-1.conf etc - shell: bash mkwgconf.sh - -- hosts: wg-cli - tasks: - - name: copie fichier - ->>>>>>> d6e080d0145615056a7a0eb3d2f9e512809eb4f5