Fedora26_private-cloud: Cannot repair SElinux labels on custom network config files
I am building an Image for private openstack cloud in ansible, after I drop network config files in /etc/sysctl.d/ , I am telling ansible to repair the SElinux labels on those files by using 'setfiles /etc/selinux....context files, I seems that this command does not work through ansible... However if I type this command manually on the Fedora26 it seems to be working...
How are you applying those labels? Are you using sefcontext Ansible module?
No, I am using
"setfiles /etc/selinux/targeted/contexts/files/file_contexts /"