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:
parent
74f0b363cc
commit
89bf5aa3c3
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user