dd
This commit is contained in:
parent
d65c56332b
commit
d06f05cdb3
1 changed files with 3 additions and 3 deletions
|
@ -53,9 +53,9 @@
|
||||||
|
|
||||||
- name: (re)start container
|
- name: (re)start container
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.command: docker-compose up -d
|
community.docker.docker_compose_v2:
|
||||||
args:
|
project_src: "{{ compose_dest_basedir }}/{{ item.name }}"
|
||||||
chdir: "{{ compose_dest_basedir }}/{{ item.name }}"
|
state: restarted
|
||||||
register: start_result # speichere ergebnis in var
|
register: start_result # speichere ergebnis in var
|
||||||
changed_when: "start_result.rc == 0" # markiere tasks als changed when exit-code == 0
|
changed_when: "start_result.rc == 0" # markiere tasks als changed when exit-code == 0
|
||||||
loop: "{{ compose_files }}"
|
loop: "{{ compose_files }}"
|
||||||
|
|
Loading…
Reference in a new issue