remove assertion of changed

This commit is contained in:
Simon Leary 2025-03-26 15:20:42 -04:00
parent 979f00ce75
commit 4ff0e3aa13

View file

@ -143,11 +143,7 @@
- name: Assert the bind mount did not take place
ansible.builtin.assert:
that:
- linux_and_changed or freebsd_and_changed
- not dest_stat['stat']['exists']
vars:
linux_and_changed: "{{ ansible_system == 'Linux' and bind_result_linux_dry_run['changed'] }}"
freebsd_and_changed: "{{ ansible_system == 'FreeBSD' and bind_result_freebsd['changed'] }}"
when: ansible_system in ('FreeBSD', 'Linux')
# bind mount