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: