ff
This commit is contained in:
parent
7f3b125d49
commit
77fb85228d
2 changed files with 2 additions and 4 deletions
|
@ -32,4 +32,4 @@ networks:
|
||||||
traefik:
|
traefik:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
# test
|
# testdfg
|
||||||
|
|
|
@ -55,9 +55,7 @@
|
||||||
become: true
|
become: true
|
||||||
community.docker.docker_compose_v2:
|
community.docker.docker_compose_v2:
|
||||||
project_src: "{{ compose_dest_basedir }}/{{ item.name }}"
|
project_src: "{{ compose_dest_basedir }}/{{ item.name }}"
|
||||||
state: restarted
|
state: restarted
|
||||||
register: start_result # speichere ergebnis in var
|
|
||||||
changed_when: "start_result.rc == 0" # markiere tasks als changed when exit-code == 0
|
|
||||||
loop: "{{ compose_files }}"
|
loop: "{{ compose_files }}"
|
||||||
when:
|
when:
|
||||||
- item.state == "present"
|
- item.state == "present"
|
||||||
|
|
Loading…
Reference in a new issue