On Centos 7 localhost install playbook requires but does not install python-selinux

Bug #1618330 reported by Chris Hoge
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bifrost
Fix Released
Medium
Unassigned

Bug Description

On a Centos 7 minimal installation running:

'ansible-playbook -K -vvvv -i inventory/localhost install.yaml'

Fails with message:

"target uses selinux but python bindings (python-selinux) are not installed"

Workaround is to install python-selinux before running the playbook:

'sudo yum install python-selinux'

Revision history for this message
Julia Kreger (juliaashleykreger) wrote :

I think the only thing we could really do is make sure we include this as part of one of the environment setup dependencies.

Changed in bifrost:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Leif Madsen (leifmadsen) wrote :

I think that actually makes a lot of sense, and is probably the simple (and correct) solution here. I might try and get a patch up shortly if I can reproduce this locally.

Dmitry Tantsur (divius)
Changed in bifrost:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.