mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
parent
10da632e52
commit
bb709dc9d5
4 changed files with 6 additions and 10 deletions
|
@ -63,10 +63,3 @@
|
||||||
- usbutils
|
- usbutils
|
||||||
- wget
|
- wget
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
# 2019-10-31: roles/kalite crashed without the following python-virtualenv -- weirdly python3-virtualenv was installed on Raspbian (not sure why) but insufficient
|
|
||||||
- name: Install package python-virtualenv for KA Lite and Calibre-Web, on older OS's (raspbian-9, raspbian-10, debian-9, debian-10, ubuntu-16, ubuntu-18)
|
|
||||||
package:
|
|
||||||
name: python-virtualenv
|
|
||||||
state: present
|
|
||||||
when: is_raspbian_9 or is_raspbian_10 or is_debian_9 or is_debian_10 or is_ubuntu_16 or is_ubuntu_18
|
|
||||||
|
|
|
@ -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 python3-pip python3-setuptools python3-virtualenv python3-psycopg2
|
apt -y --allow-downgrades install ansible python3-pymysql python3-psycopg2 python3-passlib\
|
||||||
|
python3-pip python3-setuptools virtualenv # (pulls in python3-distutils 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"
|
||||||
|
|
||||||
|
|
|
@ -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 python3-pip python3-setuptools python3-virtualenv python3-psycopg2
|
apt -y --allow-downgrades install ansible python3-pymysql python3-psycopg2 python3-passlib\
|
||||||
|
python3-pip python3-setuptools virtualenv # (pulls in python3-distutils 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")
|
||||||
|
|
|
@ -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 python3-pip python3-setuptools python3-virtualenv python3-psycopg2
|
apt -y --allow-downgrades install ansible python3-pymysql python3-psycopg2 python3-passlib\
|
||||||
|
python3-pip python3-setuptools virtualenv # (pulls in python3-distutils 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")
|
||||||
|
|
Loading…
Reference in a new issue