install both python-libselinux versions on py3 env
Ansible is not detecting that python-libselinux is installed when only the python3-libselinux package is installed. Neat. Closes-Bug: #1812324 Change-Id: I2492329880bf8c6e5cf4efc97900792b956bac4e
This commit is contained in:
parent
a2c705426e
commit
af27ea248d
@ -117,7 +117,10 @@ install_deps () {
|
||||
sudo -n true && passwordless_sudo="1" || passwordless_sudo="0"
|
||||
if [[ "$passwordless_sudo" == "1" ]]; then
|
||||
if [ "$(python_cmd)" == "python3" ]; then
|
||||
PYTHON_PACKAGES+=("python3-libselinux")
|
||||
# possible bug in ansible, f29 python 3 env fails
|
||||
# w/o both python-libselinux packages installed
|
||||
# https://bugs.launchpad.net/tripleo/+bug/1812324
|
||||
PYTHON_PACKAGES+=("python3-libselinux python2-libselinux")
|
||||
PYTHON_PACKAGES+=("python3-PyYAML")
|
||||
SETUPTOOLS_PACKAGE=python3-setuptools
|
||||
VIRTUALENV_PACKAGE=python3-virtualenv
|
||||
|
Loading…
Reference in New Issue
Block a user