Fix removal of SELinux fcontext

Delete fcontext when equivalence is in the context

Change-Id: I7f3b2c4b5b53c6152d73343af1906ed8fa46640b
Related-Bug: 1742732
This commit is contained in:
Vadim Kuznetsov 2018-04-07 09:22:31 -04:00
parent f51d685527
commit 6d4568f59c
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@
changed_when: selinux_equivalence.rc == 0
register: selinux_equivalence
when:
- '"/var/lib/nova" not in fcontext_check.stdout'
- '"/var/lib/nova" in fcontext_check.stdout'
- name: Set SELinux file contexts for nova's ssh keys
sefcontext: