Merge "Install rsync for CentOS bootstrap" into stable/victoria
This commit is contained in:
commit
7545e41317
@ -71,7 +71,7 @@ case ${DISTRO_ID} in
|
||||
git curl autoconf gcc gcc-c++ nc \
|
||||
python3 python3-devel libselinux-python3 \
|
||||
openssl-devel libffi-devel \
|
||||
python3-virtualenv
|
||||
python3-virtualenv rsync
|
||||
;;
|
||||
ubuntu|debian)
|
||||
# NOTE(mgariepy) remove this on ansible 2.10 if debian is in the config/base.yml file
|
||||
|
@ -88,9 +88,6 @@ function build_ansible_runtime_venv {
|
||||
# Add SELinux support to the venv
|
||||
if [ -d "/usr/lib64/python3.6/site-packages/selinux/" ]; then
|
||||
rsync -avX /usr/lib64/python3.6/site-packages/selinux/ /opt/ansible-runtime/lib64/python3.6/site-packages/selinux/
|
||||
fi
|
||||
# NOTE(noonedeadpunk) Conditional is here for compatability with CentOS 7
|
||||
if [ -f "/usr/lib64/python3.6/site-packages/_selinux.cpython-36m-x86_64-linux-gnu.so" ]; then
|
||||
rsync -avX /usr/lib64/python3.6/site-packages/_selinux.cpython-36m-x86_64-linux-gnu.so /opt/ansible-runtime/lib64/python3.6/site-packages/
|
||||
fi
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user