mg
7ce808198e
bugfix no log base dir set fact state vars state Doku tasks unnütze kennwörter entfernt nutzer optional dir_name darf empty sein erstelle docker-networks Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#166 Co-Authored-By: mg <mg@noreply.git.mgrote.net> Co-Committed-By: mg <mg@noreply.git.mgrote.net>
14 lines
356 B
YAML
14 lines
356 B
YAML
---
|
|
- name: loop docker tasks - up
|
|
include_tasks: dockercompose-up.yml
|
|
loop: "{{ docker_compose_projects }}"
|
|
when:
|
|
- item.state == "present"
|
|
no_log: true
|
|
|
|
- name: loop docker tasks - down
|
|
include_tasks: dockercompose-down.yml
|
|
loop: "{{ docker_compose_projects }}"
|
|
when:
|
|
- item.state == "absent"
|
|
no_log: true
|