|
|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
--- |
|
|
|
|
# NOTE: https://wiki.alpinelinux.org/wiki/DokuWiki |
|
|
|
|
- name: testing ssh connection to container |
|
|
|
|
- name: install dokuwiki to container |
|
|
|
|
hosts: dokuwiki |
|
|
|
|
tags: containers |
|
|
|
|
|
|
|
|
|
@ -142,24 +142,6 @@
|
|
|
|
|
pattern: "{{ backup_guard }}" |
|
|
|
|
register: backup_guard_present |
|
|
|
|
|
|
|
|
|
#- name: remove install.php |
|
|
|
|
# file: |
|
|
|
|
# path: "{{ doku_dir }}/install.php" |
|
|
|
|
# state: absent |
|
|
|
|
# when: use_backup and backup_guard_present.matched == 0 |
|
|
|
|
|
|
|
|
|
#- name: remove default dokuwiki data |
|
|
|
|
# file: |
|
|
|
|
# path: "{{ doku_dir }}/data/" |
|
|
|
|
# state: absent |
|
|
|
|
# when: use_backup and backup_guard_present.matched == 0 |
|
|
|
|
|
|
|
|
|
#- name: remove default dokuwiki conf |
|
|
|
|
# file: |
|
|
|
|
# path: "{{ doku_dir }}/conf/" |
|
|
|
|
# state: absent |
|
|
|
|
# when: use_backup and backup_guard_present.matched == 0 |
|
|
|
|
|
|
|
|
|
- name: extract backup archive |
|
|
|
|
unarchive: |
|
|
|
|
src: "{{ doku_backup_archive }}" |
|
|
|
|
|