2020-11-10 15:24:33 +01:00

24 lines
402 B
YAML

#playbook
---
- name: paquets nécessaires
apt:
- name: recuperation dokuwiki-stable.tgz depuis machine depl
get_url:
url: http://depl/store/dokuwiki-stable.tgz
dest: /tmp
- name: Extraction archive
unarchive:
- name: stat rept
stat:
path: /mon/rept
register: rept_stat
- name: On renomme rept en nouveau
command: mv /mon/rept /mon/nouveau
when: rept_stat.stat.exists