Builds were failing at Ansible provisioning step with error about trying
to use selinux without the Python bindings.
Change-Id: Id24eaa6d32339d0d5c94126bf01d32bf19e72ee3
Fixes: INTPAK-129
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
# Install Ansible, required for Packer's ansible-local provisioner
# Git is required by the ansible-galaxy tool when installing roles
# Install Ansible, required for Packer's ansible-local provisioner
# Git is required by the ansible-galaxy tool when installing roles
-sudo dnf install -y ansible git python-dnf
+# Ansible will fail if selinux is enabled but bindings not installed
+sudo dnf install -y ansible git python-dnf libselinux-python
# Install the latest release of ODL's Ansible role from Ansible Galaxy
# The `ansible-galaxy` tool was installed by Ansible's RPM
# Install the latest release of ODL's Ansible role from Ansible Galaxy
# The `ansible-galaxy` tool was installed by Ansible's RPM