--- - hosts: all gather_facts: false tasks: - name: Include prepare tasks include: ./lib/prepare.yml - name: Include vars tasks include: ./lib/vars.yml # Note(decentral1se): internal debugging. Please `debug: true` in the # /var/lib/dokku/data/deploy.d/vars.yml file to activate a debug vars dump - name: Include debug tasks include: ./lib/debug.yml - name: Remove deploy.d folder file: path: "{{ app_config_root }}" state: absent - name: Remove database(s) shell: "dokku {{ item.type }}:destroy {{ app }} --force" args: removes: "/var/lib/dokku/services/{{ item.type }}/{{ app }}" with_items: "{{ db }}"