From b6fc6f2e02520dc757d3741db38afe319d4280ba Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Tue, 14 Apr 2020 13:22:38 +0200 Subject: [PATCH] Don't log passwords --- plays/postdelete/lib/database.yml | 1 + plays/predeploy/lib/database.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/plays/postdelete/lib/database.yml b/plays/postdelete/lib/database.yml index c2f7eff..dbee291 100644 --- a/plays/postdelete/lib/database.yml +++ b/plays/postdelete/lib/database.yml @@ -1,5 +1,6 @@ --- - name: Remove database(s) + no_log: true shell: "dokku {{ item.type }}:destroy {{ dokku.app }} --force" args: removes: "/var/lib/dokku/services/{{ item.type }}/{{ dokku.app }}" diff --git a/plays/predeploy/lib/database.yml b/plays/predeploy/lib/database.yml index 524d9de..b5612c2 100644 --- a/plays/predeploy/lib/database.yml +++ b/plays/predeploy/lib/database.yml @@ -20,6 +20,7 @@ when: db is defined - name: "Link {{ item.type }} database to application" + no_log: true dokku_service_link: app: "{{ dokku.app }}" name: "{{ dokku.app }}"