Compare commits

..

1 Commits

Author SHA1 Message Date
sio
a4dc321d58 chgt pout resolv.conf de r-vp2 2021-01-20 10:48:03 +01:00
4 changed files with 5 additions and 6 deletions

View File

@ -8,6 +8,10 @@
copy: src=resolv.conf dest=/etc/
when: ansible_hostname != "s-adm" and ansible_hostname != "s-proxy"
- name: pas de chgt resolv.conf pour r-vp2
meta: end_play
when: ansible_hostname == "r-vp2"
- name: Copie resolv.conf pour s-proxy
copy: src=resolv.conf.s-proxy dest=/etc/resolv.conf
when: ansible_hostname == "s-proxy"

View File

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

View File

@ -5,11 +5,9 @@
state: directory
- name: download and extract wordpress
unarchive:
src: "{{ depl_url }}/{{ depl_wordpress }}"
src: http://depl/gsbstore/wordpress-5.6-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

View File

@ -1 +0,0 @@
localhost