Add Python 3 library - jmespath
This commit is contained in:
parent
36162b861b
commit
813d1cd38a
2
init.sh
2
init.sh
@ -28,7 +28,7 @@ mkdir -p ~/.ssh &> /dev/null
|
||||
|
||||
apt-get install -y python3-pip python3-venv jq git curl &> /dev/null
|
||||
python3 -m venv /opt/ansible &> /dev/null
|
||||
/opt/ansible/bin/pip3 install ansible hvac netaddr &> /dev/null
|
||||
/opt/ansible/bin/pip3 install ansible hvac netaddr jmespath &> /dev/null
|
||||
|
||||
HOSTNAME=$1
|
||||
if [[ -z "$HOSTNAME" || ${#HOSTNAME} -lt 5 ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user