Install required packages in Rocky Linux

This commit is contained in:
Christer Warén 2024-11-22 04:45:08 +02:00
parent 5e3d337b2c
commit 280928e133
2 changed files with 2 additions and 0 deletions

View File

@ -71,6 +71,7 @@ wi-init(){
mkdir -p ~/.ssh/keys &> /dev/null
apt-get install -y python3-pip python3-venv jq git curl &> /dev/null
dnf install -y python3-pip jq git curl &> /dev/null
python3 -m venv /opt/ansible &> /dev/null
/opt/ansible/bin/pip3 install ansible &> /dev/null
/opt/ansible/bin/pip3 install cryptography dnspython hvac jmespath netaddr pexpect &> /dev/null

View File

@ -5,6 +5,7 @@ wi-init(){
mkdir -p ~/.ssh/keys &> /dev/null
apt-get install -y python3-pip python3-venv jq git curl &> /dev/null
dnf install -y python3-pip jq git curl &> /dev/null
python3 -m venv /opt/ansible &> /dev/null
/opt/ansible/bin/pip3 install ansible &> /dev/null
/opt/ansible/bin/pip3 install cryptography dnspython hvac jmespath netaddr pexpect &> /dev/null