Browse Source

remove some unused tasks

master
cinnaboot 5 years ago
parent
commit
0d2995c07d
  1. 10
      lxd_host_playbook.yml
  2. 20
      tasks/dokuwiki.yml

10
lxd_host_playbook.yml

@ -22,11 +22,11 @@
tmp_sshd_config: "/tmp/sshd_config_{{ item.key }}" tmp_sshd_config: "/tmp/sshd_config_{{ item.key }}"
with_items: "{{ containers | dict2items }}" with_items: "{{ containers | dict2items }}"
#- name: testing ssh connection to container
# hosts: dokuwiki #
# tags: containers # container specific playbooks
# tasks: #
# - include_tasks: tasks/dokuwiki.yml
- import_playbook: tasks/dokuwiki.yml - import_playbook: tasks/dokuwiki.yml
# #

20
tasks/dokuwiki.yml

@ -1,6 +1,6 @@
--- ---
# NOTE: https://wiki.alpinelinux.org/wiki/DokuWiki # NOTE: https://wiki.alpinelinux.org/wiki/DokuWiki
- name: testing ssh connection to container - name: install dokuwiki to container
hosts: dokuwiki hosts: dokuwiki
tags: containers tags: containers
@ -142,24 +142,6 @@
pattern: "{{ backup_guard }}" pattern: "{{ backup_guard }}"
register: backup_guard_present 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 - name: extract backup archive
unarchive: unarchive:
src: "{{ doku_backup_archive }}" src: "{{ doku_backup_archive }}"

Loading…
Cancel
Save