docker-compose: login daten (#200)

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#200
Co-authored-by: mg <mg@noreply.git.mgrote.net>
Co-committed-by: mg <mg@noreply.git.mgrote.net>
This commit is contained in:
Michael Grote 2021-09-02 21:22:18 +02:00
parent 6c451c0488
commit dae1ff8a54

View file

@ -13,7 +13,7 @@
- docker_compose_base_dir is defined - docker_compose_base_dir is defined
- docker_compose_projects 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: stat:
path: "{{ project_dir }}" path: "{{ project_dir }}"
register: repo_exists register: repo_exists
@ -44,3 +44,7 @@
args: args:
chdir: "{{ project_dir }}" chdir: "{{ project_dir }}"
when: repo.changed when: repo.changed
- name: unset username and passwort - "{{ item.name }}"
set_fact:
login: ""