From 77fb85228d86c73db62a9d3cd1556cb0f3c6c09b Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 23 Oct 2024 17:35:26 +0200 Subject: [PATCH] ff --- docker-compose/wiki/docker-compose.yml.j2 | 2 +- roles/mgrote_docker_compose_inline/tasks/main.yml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docker-compose/wiki/docker-compose.yml.j2 b/docker-compose/wiki/docker-compose.yml.j2 index 4050394f..02bbc32f 100644 --- a/docker-compose/wiki/docker-compose.yml.j2 +++ b/docker-compose/wiki/docker-compose.yml.j2 @@ -32,4 +32,4 @@ networks: traefik: external: true -# test +# testdfg diff --git a/roles/mgrote_docker_compose_inline/tasks/main.yml b/roles/mgrote_docker_compose_inline/tasks/main.yml index 4d8cd025..3769a4ec 100644 --- a/roles/mgrote_docker_compose_inline/tasks/main.yml +++ b/roles/mgrote_docker_compose_inline/tasks/main.yml @@ -55,9 +55,7 @@ become: true community.docker.docker_compose_v2: project_src: "{{ compose_dest_basedir }}/{{ item.name }}" - state: restarted - register: start_result # speichere ergebnis in var - changed_when: "start_result.rc == 0" # markiere tasks als changed when exit-code == 0 + state: restarted loop: "{{ compose_files }}" when: - item.state == "present"