forked from gadmin/gsb2023
tentative de faire marcher wp 1
This commit is contained in:
parent
fff62c5507
commit
44c8fc32a5
@ -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'
|
||||||
|
@ -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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user