diff --git a/lxd_host_playbook.yml b/lxd_host_playbook.yml index 12e89e8..d7d34b7 100644 --- a/lxd_host_playbook.yml +++ b/lxd_host_playbook.yml @@ -22,11 +22,11 @@ tmp_sshd_config: "/tmp/sshd_config_{{ item.key }}" with_items: "{{ containers | dict2items }}" - #- name: testing ssh connection to container - # hosts: dokuwiki - # tags: containers - # tasks: - # - include_tasks: tasks/dokuwiki.yml + +# +# container specific playbooks +# + - import_playbook: tasks/dokuwiki.yml # diff --git a/tasks/dokuwiki.yml b/tasks/dokuwiki.yml index 581e8e6..c5ba0dc 100644 --- a/tasks/dokuwiki.yml +++ b/tasks/dokuwiki.yml @@ -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 }}"