1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

add python3 versions of pip, setuptools, virtualenv

This commit is contained in:
Jerry Vonau 2019-10-31 09:05:38 -05:00
parent 890e955700
commit 7bf4e94234
4 changed files with 6 additions and 3 deletions

View file

@ -64,6 +64,8 @@
- wget - wget
state: present state: present
# These are added to scripts/ansible for python3 support and will be removed
# once the pip calls are ported to use python3
- name: "Install 4 common Python packages: python-passlib, python-pip, python-setuptools, python-virtualenv" - name: "Install 4 common Python packages: python-passlib, python-pip, python-setuptools, python-virtualenv"
package: package:
name: name:

View file

@ -76,7 +76,8 @@ elif [ -f /etc/debian_version ]; then # Includes Debian, Ubuntu & Raspbian
echo -e "\napt update; apt install ansible and python3 dependencies\n" echo -e "\napt update; apt install ansible and python3 dependencies\n"
apt update apt update
apt -y --allow-downgrades install ansible python3-distutils python3-mysqldb python3-passlib apt -y --allow-downgrades install ansible python3-distutils python3-mysqldb python3-passlib python3-pip python3-setuptools python3-virtualenv
echo -e "\nSUCCESS: verify Ansible using 'ansible --version' and/or 'apt -a list ansible'\n\n" echo -e "\nSUCCESS: verify Ansible using 'ansible --version' and/or 'apt -a list ansible'\n\n"
# TEMPORARILY USE ANSIBLE 2.4.4 (REMOVE IT WITH "pip uninstall ansible") # TEMPORARILY USE ANSIBLE 2.4.4 (REMOVE IT WITH "pip uninstall ansible")

View file

@ -76,7 +76,7 @@ elif [ -f /etc/debian_version ]; then # Includes Debian, Ubuntu & Raspbian
echo -e "\napt update; apt install ansible and python3 dependencies\n" echo -e "\napt update; apt install ansible and python3 dependencies\n"
apt update apt update
apt -y --allow-downgrades install ansible python3-distutils python3-mysqldb python3-passlib apt -y --allow-downgrades install ansible python3-distutils python3-mysqldb python3-passlib python3-pip python3-setuptools python3-virtualenv
echo -e "\nSUCCESS: verify Ansible using 'ansible --version' and/or 'apt -a list ansible'\n\n" echo -e "\nSUCCESS: verify Ansible using 'ansible --version' and/or 'apt -a list ansible'\n\n"
# TEMPORARILY USE ANSIBLE 2.4.4 (REMOVE IT WITH "pip uninstall ansible") # TEMPORARILY USE ANSIBLE 2.4.4 (REMOVE IT WITH "pip uninstall ansible")

View file

@ -76,7 +76,7 @@ elif [ -f /etc/debian_version ]; then # Includes Debian, Ubuntu & Raspbian
echo -e "\napt update; apt install ansible and python3 dependencies\n" echo -e "\napt update; apt install ansible and python3 dependencies\n"
apt update apt update
apt -y --allow-downgrades install ansible python3-distutils python3-mysqldb python3-passlib apt -y --allow-downgrades install ansible python3-distutils python3-mysqldb python3-passlib python3-pip python3-setuptools python3-virtualenv
echo -e "\nSUCCESS: verify Ansible using 'ansible --version' and/or 'apt -a list ansible'\n\n" echo -e "\nSUCCESS: verify Ansible using 'ansible --version' and/or 'apt -a list ansible'\n\n"
# TEMPORARILY USE ANSIBLE 2.4.4 (REMOVE IT WITH "pip uninstall ansible") # TEMPORARILY USE ANSIBLE 2.4.4 (REMOVE IT WITH "pip uninstall ansible")