tentative de faire marcher wp 1

This commit is contained in:
Elam Monnot 2023-01-25 17:02:39 +01:00
parent fff62c5507
commit 44c8fc32a5
3 changed files with 1 additions and 21 deletions

View File

@ -10,4 +10,4 @@
dest: /etc/fstab dest: /etc/fstab
regexp: '' regexp: ''
insertafter: EOF 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'

View File

@ -8,22 +8,3 @@
- php-mysql - php-mysql
- mariadb-client - mariadb-client
state: present 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

View File

@ -10,7 +10,6 @@
roles: roles:
- base - base
- snmp-agent - snmp-agent
- lb-web
- lb-nfs-server - lb-nfs-server
- ssh-cli - ssh-cli
- syslog-cli - syslog-cli