Skip to content
Snippets Groups Projects
Commit 30fb8e55 authored by ak@geant.org's avatar ak@geant.org
Browse files

fixed literal comparison

parent 2710531f
Branches
No related tags found
2 merge requests!2Cic changes,!1Cic changes
Pipeline #84254 failed
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
- name: Show DRY diff of "{{ config_object }}" - name: Show DRY diff of "{{ config_object }}"
ansible.builtin.debug: ansible.builtin.debug:
msg: "{{ response }}" msg: "{{ response }}"
when: verb == "test" and dry_run | ansible.builtin.bool and response.changed == true when: verb == "test" and (dry_run | ansible.builtin.bool) and (response.changed | ansible.builtin.bool)
# ### This task will artificially fail if there is config that needs to be added or removed # ### This task will artificially fail if there is config that needs to be added or removed
# - name: Fail if there are diffs # - name: Fail if there are diffs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment