Skip to content

Commit

Permalink
fix install paramiko
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Oct 25, 2022
1 parent 11f01b6 commit 303336b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions contextualization/ansible_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,22 @@ else
DISTRO=$(distribution_id)
case $DISTRO in
debian)
apt install -y --no-install-recommends python3 python3-pip python3-psutil python3-paramiko wget python3-setuptools sshpass openssh-client unzip
apt install -y --no-install-recommends python3 python3-pip python3-psutil wget python3-setuptools sshpass openssh-client unzip
;;
ubuntu)
apt update
apt install -y --no-install-recommends python3 python3-pip python3-psutil python3-paramiko wget python3-setuptools sshpass openssh-client unzip
apt install -y --no-install-recommends python3 python3-pip python3-psutil wget python3-setuptools sshpass openssh-client unzip
;;
rhel)
yum install -y epel-release wget
yum install -y python3 libselinux-python3 python3-pip python3-setuptools python3-paramiko python3-psutil sshpass openssh-clients
yum install -y python3 libselinux-python3 python3-pip python3-setuptools python3-psutil sshpass openssh-clients
;;
centos)
yum install -y epel-release wget
yum install -y python3 libselinux-python3 python3-pip python3-paramiko python3-setuptools python3-psutil sshpass openssh-clients
yum install -y python3 libselinux-python3 python3-pippython3-setuptools python3-psutil sshpass openssh-clients
;;
fedora)
yum install -y wget python3 libselinux-python3 python3-pip python3-paramiko python3-psutil python3-setuptools sshpass openssh-clients
yum install -y wget python3 libselinux-python3 python3-pip python3-psutil python3-setuptools sshpass openssh-clients

;;
*)
Expand All @@ -71,7 +71,7 @@ else

pip3 install "pip>=20.0"
pip3 install -U setuptools
pip3 install pyOpenSSL pyyaml jmespath scp --prefer-binary
pip3 install pyOpenSSL pyyaml jmespath scp paramiko>=2.9.5 --prefer-binary
pip3 install ansible==$ANSIBLE_VERSION --prefer-binary
fi

Expand Down

0 comments on commit 303336b

Please sign in to comment.