fix missing register

This commit is contained in:
SebClem 2023-06-29 15:21:35 +02:00
parent ee0532f4fb
commit e1d46ee244
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50

View File

@ -49,7 +49,8 @@
chdir: "{{ docker_compose_remote_project_dir + '/' + item.name }}"
cmd: "docker compose pull && docker compose {{ 'restart' if docker_compose_state == 'restarted' else 'up -d' }} "
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
community.docker.docker_prune: