From dae1ff8a545dc9194fe80bdebeb4731f612b063d Mon Sep 17 00:00:00 2001 From: mg Date: Thu, 2 Sep 2021 21:22:18 +0200 Subject: [PATCH] docker-compose: login daten (#200) Co-authored-by: Michael Grote Reviewed-on: https://git.mgrote.net/mg/ansible/pulls/200 Co-authored-by: mg Co-committed-by: mg --- .../mgrote.docker-compose-deploy/tasks/dockercompose-up.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/mgrote.docker-compose-deploy/tasks/dockercompose-up.yml b/roles/mgrote.docker-compose-deploy/tasks/dockercompose-up.yml index 62b81b80..c04c09e3 100644 --- a/roles/mgrote.docker-compose-deploy/tasks/dockercompose-up.yml +++ b/roles/mgrote.docker-compose-deploy/tasks/dockercompose-up.yml @@ -13,7 +13,7 @@ - docker_compose_base_dir is defined - docker_compose_projects is defined - - name: check if repo exists - "{{ item.name }}" + - name: check if repo exists - "{{ item.name }}" (wenn der Task >30s dauert sind die Login-Daten falsch) stat: path: "{{ project_dir }}" register: repo_exists @@ -44,3 +44,7 @@ args: chdir: "{{ project_dir }}" when: repo.changed + + - name: unset username and passwort - "{{ item.name }}" + set_fact: + login: ""