mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge branch 'virtualenv-for-kalite' of https://github.com/holta/iiab into virtualenv-for-kalite
This commit is contained in:
commit
da73eca209
8 changed files with 31 additions and 15 deletions
|
@ -4,7 +4,6 @@
|
|||
# https://stackoverflow.com/questions/9952177/whats-the-meaning-of-the-parameter-e-for-bash-shell-command-line/9952249
|
||||
|
||||
# PLZ SEE http://FAQ.IIAB.IO > "What is Ansible and what version should I use?"
|
||||
# https://github.com/iiab/iiab/tree/master/scripts/ansible.md
|
||||
# https://github.com/iiab/iiab/wiki/IIAB-Contributors-Guide#ansible
|
||||
|
||||
APT_PATH=/usr/bin # Avoids problematic /usr/local/bin/apt on Linux Mint
|
||||
|
@ -149,13 +148,24 @@ fi
|
|||
###echo -e 'ENSURE ANSIBLE UPDATES CLEANLY: (then re-run this script to be sure!)\n'
|
||||
###grep '^deb .*ansible' /etc/apt/sources.list /etc/apt/sources.list.d/*.list | grep -v '^/etc/apt/sources.list.d/iiab-ansible.list:' || true # Override bash -e (instead of aborting at 1st error)
|
||||
|
||||
echo -e "\napt update; apt install of python3-* / virtualenv packages explained at:"
|
||||
echo -e "https://github.com/iiab/iiab/blob/master/scripts/ansible.md\n"
|
||||
echo -e "\napt update; apt install python3-pip # Also installs 'python3-setuptools' and 'python3' etc"
|
||||
#echo -e "https://github.com/iiab/iiab/blob/master/scripts/ansible.md\n"
|
||||
$APT_PATH/apt update
|
||||
$APT_PATH/apt -y install python3-pip
|
||||
|
||||
# 2021-07-29:
|
||||
# 'python3-packaging' dropped for now
|
||||
# 'python3-pymysql' (drags in 'python3' which drags in 'python3-venv' on Debian 11 but not on Ubuntu 20.04) -- moved to roles/mysql/tasks/install.yml
|
||||
# 'python3-psycopg2' moved to roles/postgresql/tasks/install.yml
|
||||
# 'python3-passlib' moved to roles/munin/tasks/install.yml
|
||||
# 'python3-venv' moved to roles/2-common/tasks/packages.yml
|
||||
# 'virtualenv' for Python 2 moved to roles/kalite/tasks/install.yml
|
||||
#
|
||||
#$APT_PATH/apt -y install \
|
||||
# python3-pymysql python3-psycopg2 python3-passlib python3-pip \
|
||||
# python3-setuptools python3-packaging python3-venv virtualenv
|
||||
|
||||
#$APT_PATH/apt -y --allow-downgrades install ansible-core \
|
||||
$APT_PATH/apt -y install \
|
||||
python3-pymysql python3-psycopg2 python3-passlib python3-pip \
|
||||
python3-setuptools python3-packaging python3-venv virtualenv
|
||||
|
||||
echo -e "\n\n'pip3 install --upgrade ansible-core' will now run:\n"
|
||||
pip3 install --upgrade ansible-core
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue