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 changed_when: false
register: docker_compose__ps_json_after_up register: docker_compose__ps_json_after_up
- name: potentially report changed # Doesn't work anymore. Dunno why.
ansible.builtin.debug: # TODO: Fix
msg: "If this reports changed, then the docker compose containers changed." # - name: potentially report changed
changed_when: (docker_compose__ps_json_before_up.stdout | from_json | community.general.json_query('[].ID') | sort) # ansible.builtin.debug:
!= (docker_compose__ps_json_after_up.stdout | from_json | community.general.json_query('[].ID') | sort) # 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)