From 44c8fc32a5f9d2ec4447b3bb92934be1bc76830c Mon Sep 17 00:00:00 2001 From: Elam Monnot Date: Wed, 25 Jan 2023 17:02:39 +0100 Subject: [PATCH] tentative de faire marcher wp 1 --- roles/lb-nfs-client/tasks/main.yml | 2 +- roles/lb-web/tasks/main.yml | 19 ------------------- s-nas.yml | 1 - 3 files changed, 1 insertion(+), 21 deletions(-) diff --git a/roles/lb-nfs-client/tasks/main.yml b/roles/lb-nfs-client/tasks/main.yml index 577e9dd..c67a6a4 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/wordpress /var/www/html/ nfs soft,timeo=5,intr,rsize=8192,wsize=8192,wsize=8192 0 0' diff --git a/roles/lb-web/tasks/main.yml b/roles/lb-web/tasks/main.yml index e04d326..cec5a55 100644 --- a/roles/lb-web/tasks/main.yml +++ b/roles/lb-web/tasks/main.yml @@ -8,22 +8,3 @@ - php-mysql - mariadb-client state: present - -- name: download and extract wordpress - unarchive: - src: https://fr.wordpress.org/latest-fr_FR.tar.gz - dest: /home/ - remote_src: yes - -- name: Copy sample config file - command: mv /home/wordpress/wp-config-sample.php /home/wordpress/wp-config.php creates=/home/wordpress/wp-config.php - -- name: Changement du fichier de conf - copy: - src: wp-config.php - dest: /home/wordpress/wp-config.php - -- name: Attributions des permissions - file: - path: /home/wordpress - recurse: yes diff --git a/s-nas.yml b/s-nas.yml index 40297b1..c85032e 100644 --- a/s-nas.yml +++ b/s-nas.yml @@ -10,7 +10,6 @@ roles: - base - snmp-agent - - lb-web - lb-nfs-server - ssh-cli - syslog-cli