From 0d2995c07da3ae997c67b8b9c6e58337fcf10b21 Mon Sep 17 00:00:00 2001 From: cinnaboot Date: Mon, 12 Apr 2021 14:56:44 -0400 Subject: [PATCH] remove some unused tasks --- lxd_host_playbook.yml | 10 +++++----- tasks/dokuwiki.yml | 20 +------------------- 2 files changed, 6 insertions(+), 24 deletions(-) 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 }}"