fix role docker_compose: pull and restart #243
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@
|
||||||
chdir: "{{ compose_dest_basedir }}/{{ item.name }}"
|
chdir: "{{ compose_dest_basedir }}/{{ item.name }}"
|
||||||
register: pull_result # speichere ergebnis in var
|
register: pull_result # speichere ergebnis in var
|
||||||
changed_when: "pull_result.rc == 0" # markiere tasks als changed when exit-code == 0
|
changed_when: "pull_result.rc == 0" # markiere tasks als changed when exit-code == 0
|
||||||
|
loop: "{{ compose_files }}"
|
||||||
|
|
||||||
- name: (re)start container
|
- name: (re)start container
|
||||||
become: true
|
become: true
|
||||||
|
|
Loading…
Reference in a new issue