mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 15:15:26 +01:00
remove assertion of changed
This commit is contained in:
parent
979f00ce75
commit
4ff0e3aa13
1 changed files with 0 additions and 4 deletions
|
|
@ -143,11 +143,7 @@
|
||||||
- name: Assert the bind mount did not take place
|
- name: Assert the bind mount did not take place
|
||||||
ansible.builtin.assert:
|
ansible.builtin.assert:
|
||||||
that:
|
that:
|
||||||
- linux_and_changed or freebsd_and_changed
|
|
||||||
- not dest_stat['stat']['exists']
|
- 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')
|
when: ansible_system in ('FreeBSD', 'Linux')
|
||||||
|
|
||||||
# bind mount
|
# bind mount
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue