Search for whole equivalence for SElinux

Change-Id: I4d5030c26c1e18af0ff44b460cb5bc65c5523036
This commit is contained in:
Marc Gariepy 2017-03-24 13:45:29 -04:00
parent e9cc32c574
commit b87bb37d8c

View File

@ -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