Compare commits
No commits in common. "ab2cc8da9663adacbfba433242201d200eefe9f1" and "385563b4f251060404d0c932a0d1a07efae1c8f1" have entirely different histories.
ab2cc8da96
...
385563b4f2
@ -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/ nfs soft,timeo=5,intr,rsize=8192,wsize=8192,wsize=8192 0 0'
|
line: '192.168.102.253:/home/wordpress /var/www/html/wordpress nfs soft,timeo=5,intr,rsize=8192,wsize=8192,wsize=8192 0 0'
|
||||||
|
@ -8,3 +8,22 @@
|
|||||||
- 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