comment out another instance of non-working code

This commit is contained in:
June 2023-10-23 21:40:46 +02:00 committed by julian
parent 16a5d35fb0
commit d99874935f

View file

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