Compare commits
No commits in common. "fff62c550762bac717c757a6fbaf770df8a3e5f1" and "9b609e6418eb328a79630f6042b187f0f995a795" have entirely different histories.
fff62c5507
...
9b609e6418
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: installation php et apache ...
|
- name: installation php et apache ...
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
- apache2
|
- apache2
|
||||||
@ -9,21 +9,25 @@
|
|||||||
- mariadb-client
|
- mariadb-client
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: download and extract wordpress
|
- name: download and extract wordpress
|
||||||
unarchive:
|
unarchive:
|
||||||
src: https://fr.wordpress.org/latest-fr_FR.tar.gz
|
src: https://fr.wordpress.org/latest-fr_FR.tar.gz
|
||||||
dest: /home/
|
dest: /home/
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
|
owner: www-data
|
||||||
|
group: www-data
|
||||||
|
|
||||||
- name: Copy sample config file
|
- name: Copy sample config file
|
||||||
command: mv /home/wordpress/wp-config-sample.php /home/wordpress/wp-config.php creates=/home/wordpress/wp-config.php
|
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
|
- name: Changement du fichier de conf
|
||||||
copy:
|
copy:
|
||||||
src: wp-config.php
|
src: wp-config.php
|
||||||
dest: /home/wordpress/wp-config.php
|
dest: /home/wordpress/wp-config.php
|
||||||
|
|
||||||
- name: Attributions des permissions
|
- name: Attributions des permissions
|
||||||
file:
|
file:
|
||||||
path: /home/wordpress
|
path: /home/wordpress
|
||||||
recurse: yes
|
recurse: yes
|
||||||
|
owner: 33
|
||||||
|
group: 33
|
||||||
|
@ -8,3 +8,4 @@
|
|||||||
- snmp-agent
|
- snmp-agent
|
||||||
- lb-nfs-client
|
- lb-nfs-client
|
||||||
- post
|
- post
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user