fix role docker_compose: pull and restart #243

Merged
mg merged 5 commits from inline into master 2024-11-15 21:37:29 +01:00
Showing only changes of commit 93ae636756 - Show all commits

View file

@ -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