From 4ff0e3aa139118c912b77053323489d9202142f4 Mon Sep 17 00:00:00 2001 From: Simon Leary Date: Wed, 26 Mar 2025 15:20:42 -0400 Subject: [PATCH] remove assertion of changed --- tests/integration/targets/mount/tasks/main.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/integration/targets/mount/tasks/main.yml b/tests/integration/targets/mount/tasks/main.yml index bc903b8..c3bca6c 100644 --- a/tests/integration/targets/mount/tasks/main.yml +++ b/tests/integration/targets/mount/tasks/main.yml @@ -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