From f07aba16626296502a2c2e8581d29461f833d0c2 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Thu, 12 Jul 2018 16:44:21 +0200 Subject: [PATCH] Fix usage of "|" for tests With the more recent versions of ansible, we should now use "is" instead of the "|" sign for the tests. This should fix it. Change-Id: I8d78a2b4ba2a8746cbb809e4f8c9370abe211350 --- tasks/rhel7stig/lsm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/rhel7stig/lsm.yml b/tasks/rhel7stig/lsm.yml index 81f34cb4..ed638d9e 100644 --- a/tasks/rhel7stig/lsm.yml +++ b/tasks/rhel7stig/lsm.yml @@ -96,7 +96,7 @@ when: - ansible_os_family == "RedHat" - security_rhel7_enable_linux_security_module | bool - - selinux_status_change | changed + - selinux_status_change is changed tags: - high - V-71989