From a7a9752aa0ab566d9e17d0ef9a8af3d420268a21 Mon Sep 17 00:00:00 2001 From: Elam Monnot Date: Tue, 31 Jan 2023 10:08:48 +0100 Subject: [PATCH] =?UTF-8?q?normalement=20=C3=A7a=20marche?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/lb-nfs-client/tasks/main.yml | 2 +- roles/lb-nfs-server/tasks/main.yml | 2 +- roles/lb-web/tasks/main.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/lb-nfs-client/tasks/main.yml b/roles/lb-nfs-client/tasks/main.yml index 577e9dd..f05cea3 100644 --- a/roles/lb-nfs-client/tasks/main.yml +++ b/roles/lb-nfs-client/tasks/main.yml @@ -10,4 +10,4 @@ dest: /etc/fstab regexp: '' insertafter: EOF - line: '192.168.102.253:/home/wordpress /var/www/html/wordpress nfs soft,timeo=5,intr,rsize=8192,wsize=8192,wsize=8192 0 0' + line: '192.168.102.253:/home/ /var/www/html/wordpress nfs soft,timeo=5,intr,rsize=8192,wsize=8192,wsize=8192 0 0' diff --git a/roles/lb-nfs-server/tasks/main.yml b/roles/lb-nfs-server/tasks/main.yml index 9d24173..a9f3efc 100644 --- a/roles/lb-nfs-server/tasks/main.yml +++ b/roles/lb-nfs-server/tasks/main.yml @@ -60,7 +60,7 @@ replace: path: /home/wordpress/wp-config.php regexp: "localhost" - replace: "192.168.102.253" + replace: "192.168.102.254" backup: yes - name: 55 - relance nfs diff --git a/roles/lb-web/tasks/main.yml b/roles/lb-web/tasks/main.yml index bd4723a..e23a116 100644 --- a/roles/lb-web/tasks/main.yml +++ b/roles/lb-web/tasks/main.yml @@ -18,7 +18,7 @@ blockinfile: path: /etc/fstab block: | - 192.168.102.253:/exports/wordpress /var/www/html nfs soft,timeo=5,intr,rsize=8192,wsize=8192,wsize=8192 0 0 + 192.168.102.253:/home/wordpress /var/www/html nfs soft,timeo=5,intr,rsize=8192,wsize=8192,wsize=8192 0 0 #- name: monte export wordpress # ansible.posix.mount: