mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
Merge pull request #2803 from jvonau/ans_pip
ansible - install dependencies before pip
This commit is contained in:
commit
186b3f1b9f
1 changed files with 1 additions and 2 deletions
|
@ -152,12 +152,11 @@ grep '^deb .*ansible' /etc/apt/sources.list /etc/apt/sources.list.d/*.list | gre
|
|||
echo -e "\napt update; apt install ansible-core and python3 dependencies explained at:"
|
||||
echo -e "https://github.com/iiab/iiab/blob/master/scripts/ansible.md\n"
|
||||
$APT_PATH/apt update
|
||||
$APT_PATH/apt -y install python3-pip
|
||||
pip3 install ansible-core
|
||||
#$APT_PATH/apt -y --allow-downgrades install ansible-core \
|
||||
$APT_PATH/apt -y --allow-downgrades install \
|
||||
python3-pymysql python3-psycopg2 python3-passlib python3-pip \
|
||||
python3-setuptools python3-packaging python3-venv virtualenv
|
||||
pip3 install ansible-core
|
||||
|
||||
# (Re)running collection installs appears safe, with --force-with-deps to force
|
||||
# upgrade of collection and dependencies it pulls in. Note Ansible may support
|
||||
|
|
Loading…
Reference in a new issue