diff --git a/ansible/post-delete.yml b/ansible/post-delete.yml index fd88a11..df50719 100644 --- a/ansible/post-delete.yml +++ b/ansible/post-delete.yml @@ -1,5 +1,6 @@ --- - hosts: all + gather_facts: false tasks: - name: Load variables include_vars: @@ -25,6 +26,7 @@ shell: "dokku mariadb:destroy gitea --force" args: removes: /var/lib/dokku/services/mariadb/gitea + become: true - name: Remove volume mount configuration directories file: diff --git a/ansible/post-deploy.yml b/ansible/post-deploy.yml index 9267884..e9d1b52 100644 --- a/ansible/post-deploy.yml +++ b/ansible/post-deploy.yml @@ -1,5 +1,6 @@ --- - hosts: all + gather_facts: false tasks: - name: Load variables include_vars: diff --git a/ansible/pre-deploy.yml b/ansible/pre-deploy.yml index 61d3081..c1392bb 100644 --- a/ansible/pre-deploy.yml +++ b/ansible/pre-deploy.yml @@ -1,5 +1,6 @@ --- - hosts: all + gather_facts: false tasks: - name: Load variables include_vars: