dsfgd
This commit is contained in:
parent
75136a62c2
commit
9ae6e0c31e
1 changed files with 3 additions and 1 deletions
|
@ -51,11 +51,13 @@
|
||||||
when:
|
when:
|
||||||
- item.network is defined
|
- item.network is defined
|
||||||
|
|
||||||
- name: (re)start container
|
- name: restart changed container
|
||||||
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
|
||||||
|
dependencies: true
|
||||||
|
pull: missing
|
||||||
loop: "{{ compose_files }}"
|
loop: "{{ compose_files }}"
|
||||||
when:
|
when:
|
||||||
- item.state == "present"
|
- item.state == "present"
|
||||||
|
|
Loading…
Reference in a new issue