mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
requested wording
This commit is contained in:
parent
6e1eec612f
commit
9fae04d557
4 changed files with 12 additions and 6 deletions
|
@ -74,10 +74,11 @@ elif [ -f /etc/debian_version ]; then # Includes Debian, Ubuntu & Raspbian
|
|||
echo -e '\nIF YOU FACE ERROR "signatures couldn'"'"'t be verified because the public key is not available" THEN REPEATEDLY RE-RUN "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 93C4A3FD7BB9C367"\n'
|
||||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 93C4A3FD7BB9C367
|
||||
|
||||
echo -e "\napt update; apt install ansible and python3 dependencies\n"
|
||||
echo -e "\napt update; apt install ansible and python3 dependencies explained at:"
|
||||
echo -e "https://github.com/iiab/iiab/tree/master/scripts/ansible.md\n""
|
||||
apt update
|
||||
apt -y --allow-downgrades install ansible python3-pymysql python3-psycopg2 python3-passlib\
|
||||
python3-pip python3-setuptools virtualenv # (pulls in python3-distutils python3-virtualenv)
|
||||
python3-pip python3-setuptools virtualenv
|
||||
|
||||
echo -e "\nSUCCESS: verify Ansible using 'ansible --version' and/or 'apt -a list ansible'\n\n"
|
||||
|
||||
|
|
|
@ -74,10 +74,11 @@ elif [ -f /etc/debian_version ]; then # Includes Debian, Ubuntu & Raspbian
|
|||
echo -e '\nIF YOU FACE ERROR "signatures couldn'"'"'t be verified because the public key is not available" THEN REPEATEDLY RE-RUN "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 93C4A3FD7BB9C367"\n'
|
||||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 93C4A3FD7BB9C367
|
||||
|
||||
echo -e "\napt update; apt install ansible and python3 dependencies\n"
|
||||
echo -e "\napt update; apt install ansible and python3 dependencies explained at:"
|
||||
echo -e "https://github.com/iiab/iiab/tree/master/scripts/ansible.md\n"
|
||||
apt update
|
||||
apt -y --allow-downgrades install ansible python3-pymysql python3-psycopg2 python3-passlib\
|
||||
python3-pip python3-setuptools virtualenv # (pulls in python3-distutils python3-virtualenv)
|
||||
python3-pip python3-setuptools virtualenv
|
||||
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")
|
||||
|
|
|
@ -74,10 +74,11 @@ elif [ -f /etc/debian_version ]; then # Includes Debian, Ubuntu & Raspbian
|
|||
echo -e '\nIF YOU FACE ERROR "signatures couldn'"'"'t be verified because the public key is not available" THEN REPEATEDLY RE-RUN "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 93C4A3FD7BB9C367"\n'
|
||||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 93C4A3FD7BB9C367
|
||||
|
||||
echo -e "\napt update; apt install ansible and python3 dependencies\n"
|
||||
echo -e "\napt update; apt install ansible and python3 dependencies explained at:"
|
||||
echo -e "https://github.com/iiab/iiab/tree/master/scripts/ansible.md\n"
|
||||
apt update
|
||||
apt -y --allow-downgrades install ansible python3-pymysql python3-psycopg2 python3-passlib\
|
||||
python3-pip python3-setuptools virtualenv # (pulls in python3-distutils python3-virtualenv)
|
||||
python3-pip python3-setuptools virtualenv
|
||||
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")
|
||||
|
|
|
@ -3,6 +3,9 @@ need to be installed, we make use of the following ansible modules:
|
|||
|
||||
1. pip: we install python3-pip python3-setuptools virtualenv
|
||||
as per https://docs.ansible.com/ansible/latest/modules/pip_module.html
|
||||
virtualenv is python3 only and pulls in python3-distutils python3-virtualenv
|
||||
`apt show virtualenv` Depends: python3, python3-virtualenv
|
||||
`apt show python3-virtualenv` Depends: python-pip-whl (>= 8.1.1-2), python3, python3-distutils, python3-pkg-resources
|
||||
|
||||
2. mysql_db: python3-pymysql
|
||||
https://docs.ansible.com/ansible/latest/modules/mysql_db_module.html#mysql-db-module
|
||||
|
|
Loading…
Add table
Reference in a new issue