From eb64debbb02a643535f43461c8703bf6ff37447f Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sun, 22 Mar 2020 12:26:48 +0100 Subject: [PATCH] Shuffle perms and don't gather facts --- ansible/post-delete.yml | 2 ++ ansible/post-deploy.yml | 1 + ansible/pre-deploy.yml | 1 + 3 files changed, 4 insertions(+) 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: