recup sur s-adm de wordpress

This commit is contained in:
Theo Vallet 2021-01-25 08:56:13 +01:00
parent 64f43dfb53
commit 36c0d92c9f
3 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,2 @@
depl_url: "http://s-adm.gsb.adm/gsbstore/"
depl_wordpress: "wordpress-5.6-fr_FR.tar.gz"

View File

@ -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
View File

@ -0,0 +1 @@
localhost