19 lines
466 B
YAML
19 lines
466 B
YAML
vars:
|
|
- chemin_fichier: /var/www/html/doku
|
|
|
|
- name: recuperation dokuwiki-stable.tgz depuis machine depl
|
|
get_url:
|
|
url: http://depl/store/dokuwiki-stable.tgz
|
|
dest: /tmp/
|
|
|
|
- name: Extraction archive
|
|
ansible.builtin.unarchive:
|
|
src: /tmp/dokuwiki-stable.tgz
|
|
dest: /var/www/html/
|
|
|
|
- name: changer propriétaire du fichier var/www/html/doku
|
|
file:
|
|
path: "{{ chemin_fichier }}"
|
|
owner: www-data:www-data data lib conf
|
|
become: true
|