recup sur s-adm de wordpress
This commit is contained in:
parent
64f43dfb53
commit
36c0d92c9f
2
roles/s-lb-wordpress/defaults/main.yml
Normal file
2
roles/s-lb-wordpress/defaults/main.yml
Normal file
@ -0,0 +1,2 @@
|
||||
depl_url: "http://s-adm.gsb.adm/gsbstore/"
|
||||
depl_wordpress: "wordpress-5.6-fr_FR.tar.gz"
|
@ -5,9 +5,11 @@
|
||||
state: directory
|
||||
- name: download and extract wordpress
|
||||
unarchive:
|
||||
src: http://depl/gsbstore/wordpress-5.6-fr_FR.tar.gz
|
||||
src: "{{ depl_url }}/{{ depl_wordpress }}"
|
||||
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
|
||||
|
1
s-nas.retry
Normal file
1
s-nas.retry
Normal file
@ -0,0 +1 @@
|
||||
localhost
|
Loading…
x
Reference in New Issue
Block a user