fix missing register
This commit is contained in:
parent
ee0532f4fb
commit
e1d46ee244
@ -49,7 +49,8 @@
|
|||||||
chdir: "{{ docker_compose_remote_project_dir + '/' + item.name }}"
|
chdir: "{{ docker_compose_remote_project_dir + '/' + item.name }}"
|
||||||
cmd: "docker compose pull && docker compose {{ 'restart' if docker_compose_state == 'restarted' else 'up -d' }} "
|
cmd: "docker compose pull && docker compose {{ 'restart' if docker_compose_state == 'restarted' else 'up -d' }} "
|
||||||
loop: "{{ docker_compose_project_list }}"
|
loop: "{{ docker_compose_project_list }}"
|
||||||
changed_when: "'Started' in docker_out.stderr"
|
register: docker_compose_out
|
||||||
|
changed_when: "'Started' in docker_compose_out.stderr"
|
||||||
|
|
||||||
- name: Prune docker
|
- name: Prune docker
|
||||||
community.docker.docker_prune:
|
community.docker.docker_prune:
|
||||||
|
Loading…
Reference in New Issue
Block a user