From d99874935fa7acadbb1121f875b838d5718f74fa Mon Sep 17 00:00:00 2001 From: julian Date: Mon, 23 Oct 2023 21:40:46 +0200 Subject: [PATCH] comment out another instance of non-working code --- playbooks/roles/docker_compose/tasks/main.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/playbooks/roles/docker_compose/tasks/main.yaml b/playbooks/roles/docker_compose/tasks/main.yaml index 23c17f4..542e096 100644 --- a/playbooks/roles/docker_compose/tasks/main.yaml +++ b/playbooks/roles/docker_compose/tasks/main.yaml @@ -90,8 +90,10 @@ changed_when: false register: docker_compose__ps_json_after_up -- name: potentially report changed - ansible.builtin.debug: - msg: "If this reports changed, then the docker compose containers changed." - changed_when: (docker_compose__ps_json_before_up.stdout | from_json | community.general.json_query('[].ID') | sort) - != (docker_compose__ps_json_after_up.stdout | from_json | community.general.json_query('[].ID') | sort) +# Doesn't work anymore. Dunno why. +# TODO: Fix +# - name: potentially report changed +# ansible.builtin.debug: +# msg: "If this reports changed, then the docker compose containers changed." +# changed_when: (docker_compose__ps_json_before_up.stdout | from_json | community.general.json_query('[].ID') | sort) +# != (docker_compose__ps_json_after_up.stdout | from_json | community.general.json_query('[].ID') | sort)