Add libselinux-python to the ansible-node group

If the target system has SELinux present, we need to make sure
that we have libselinux-python available or else nearly all Ansible
modules will fail with the error "Aborting, target uses selinux but
python bindings (libselinux-python) aren't installed!"

Resolves: RHBZ#1374491

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2016-09-08 15:58:06 -04:00
parent 74f0b363cc
commit 89bf5aa3c3
No known key found for this signature in database
GPG Key ID: 7A25556236BAA3A3
3 changed files with 3 additions and 0 deletions

View File

@ -100,6 +100,7 @@
<uservisible>true</uservisible>
<packagelist>
<packagereq type="mandatory">python2-dnf</packagereq>
<packagereq type="conditional" requires="selinux-policy">libselinux-python</packagereq>
</packagelist>
</group>
<group>

View File

@ -101,6 +101,7 @@
<uservisible>true</uservisible>
<packagelist>
<packagereq type="mandatory">python2-dnf</packagereq>
<packagereq type="conditional" requires="selinux-policy">libselinux-python</packagereq>
</packagelist>
</group>
<group>

View File

@ -101,6 +101,7 @@
<uservisible>true</uservisible>
<packagelist>
<packagereq type="mandatory">python2-dnf</packagereq>
<packagereq type="conditional" requires="selinux-policy">libselinux-python</packagereq>
</packagelist>
</group>
<group>