You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

25 lines
661 B

---
- name: include dokuwiki install task
vars:
lighttpd_user: lighttpd
lighttpd_group: lighttpd
docroot: /var/www/localhost/htdocs
doku_url: https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz
doku_tar: /tmp/dokuwiki-stable.tgz
doku_dir: "{{ docroot }}/dokuwiki"
use_backup: True
doku_backup_archive: data/dokuwiki_backup.tgz
backup_guard: ANSIBLE_BACKUP_GUARD
import_tasks: dokuwiki.yml
- name: backup block
tags: backup
import_tasks: backup.yml
vars:
output: /tmp/
archive: /tmp/dokuwiki_backup.tgz
doku_path: /var/www/localhost/htdocs/dokuwiki/
when: "'backup' in ansible_run_tags"