Remove experimental hook for now

This commit is contained in:
Luke Murphy 2020-03-22 15:48:42 +01:00
parent 41b65962ec
commit c58f64e3e5
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 0 additions and 36 deletions

View File

@ -1,36 +0,0 @@
---
- hosts: all
gather_facts: false
tasks:
- name: Load variables
include_vars:
dir: "{{ dokku_lib_root }}/data/ansible/gitea/vars/"
extensions:
- yml
- name: Remove host Gitea group
group:
name: gitea
state: absent
become: true
- name: Remove host Gitea user
user:
name: gitea
state: absent
become: true
- name: Remove mariadb database
shell: "dokku mariadb:destroy gitea --force"
args:
removes: /var/lib/dokku/services/mariadb/gitea
become: true
- name: Remove volume mount configuration directories
file:
path: "{{ item }}"
state: absent
with_items:
- /var/lib/gitea
- /var/lib/dokku/services/mariadb/gitea
become: true