From b87bb37d8c0d1f04ff66e36d4f59ec9b4a306386 Mon Sep 17 00:00:00 2001 From: Marc Gariepy Date: Fri, 24 Mar 2017 13:45:29 -0400 Subject: [PATCH] Search for whole equivalence for SElinux Change-Id: I4d5030c26c1e18af0ff44b460cb5bc65c5523036 --- tasks/nova_selinux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/nova_selinux.yml b/tasks/nova_selinux.yml index 78850d3d..832cd630 100644 --- a/tasks/nova_selinux.yml +++ b/tasks/nova_selinux.yml @@ -19,7 +19,7 @@ register: openstack_nova_dir - name: Check for SELinux equivalence for /var/lib/nova - shell: "semanage fcontext -l /var/lib/nova | grep ^/var/lib/nova || true" + shell: "semanage fcontext -l /var/lib/nova | grep '^/var/lib/nova = /var/log/libvirt$' || true" register: fcontext_check tags: - skip_ansible_lint