forked from gadmin/gsb2023
MAJ role lb-web
This commit is contained in:
parent
a3c2d85952
commit
6139095296
@ -1,33 +1,29 @@
|
||||
---
|
||||
- name: installation php et apache ...
|
||||
apt:
|
||||
name:
|
||||
- apache2
|
||||
- php
|
||||
- php-mbstring
|
||||
- php-mysql
|
||||
- mariadb-client
|
||||
state: present
|
||||
- name: installation php et apache ...
|
||||
apt:
|
||||
name:
|
||||
- apache2
|
||||
- php
|
||||
- php-mbstring
|
||||
- php-mysql
|
||||
- mariadb-client
|
||||
state: present
|
||||
|
||||
- name: download and extract wordpress
|
||||
unarchive:
|
||||
src: https://fr.wordpress.org/latest-fr_FR.tar.gz
|
||||
- name: download and extract wordpress
|
||||
unarchive:
|
||||
src: https://fr.wordpress.org/latest-fr_FR.tar.gz
|
||||
dest: /home/
|
||||
remote_src: yes
|
||||
owner: www-data
|
||||
group: www-data
|
||||
|
||||
- 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: 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: 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
|
||||
owner: 33
|
||||
group: 33
|
||||
- name: Attributions des permissions
|
||||
file:
|
||||
path: /home/wordpress
|
||||
recurse: yes
|
||||
|
@ -8,4 +8,3 @@
|
||||
- snmp-agent
|
||||
- lb-nfs-client
|
||||
- post
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user