mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
scripts/ansible: Cleaner on-screen output
This commit is contained in:
parent
cfb446479d
commit
aad12eb928
1 changed files with 2 additions and 2 deletions
|
@ -199,10 +199,10 @@ echo -e "\napt update; apt install python3-venv"
|
||||||
$APT_PATH/apt update
|
$APT_PATH/apt update
|
||||||
$APT_PATH/apt -y install python3-venv
|
$APT_PATH/apt -y install python3-venv
|
||||||
|
|
||||||
echo -e "Create virtual environment for Ansible"
|
echo -e "\nCreate virtual environment for Ansible"
|
||||||
python3 -m venv /usr/local/ansible
|
python3 -m venv /usr/local/ansible
|
||||||
/usr/local/ansible/bin/python3 -m pip install --upgrade ansible-core
|
/usr/local/ansible/bin/python3 -m pip install --upgrade ansible-core
|
||||||
echo -e "Create symlinks /usr/local/bin/ansible* -> /usr/local/ansible/bin/ansible*"
|
echo -e "\nCreate symlinks /usr/local/bin/ansible* -> /usr/local/ansible/bin/ansible*"
|
||||||
cd /usr/local/ansible/bin
|
cd /usr/local/ansible/bin
|
||||||
for bin in $(ls ansible*); do
|
for bin in $(ls ansible*); do
|
||||||
ln -sf /usr/local/ansible/bin/$bin /usr/local/bin/$bin
|
ln -sf /usr/local/ansible/bin/$bin /usr/local/bin/$bin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue