Add lsb_release to Ansible dependencies
This commit is contained in:
parent
280928e133
commit
b383c1ddd0
4
init.sh
4
init.sh
@ -70,8 +70,8 @@ wi-init(){
|
|||||||
|
|
||||||
mkdir -p ~/.ssh/keys &> /dev/null
|
mkdir -p ~/.ssh/keys &> /dev/null
|
||||||
|
|
||||||
apt-get install -y python3-pip python3-venv jq git curl &> /dev/null
|
apt-get install -y python3-pip python3-venv jq git curl lsb-release &> /dev/null
|
||||||
dnf install -y python3-pip jq git curl &> /dev/null
|
dnf install -y python3-pip jq git curl lsb_release &> /dev/null
|
||||||
python3 -m venv /opt/ansible &> /dev/null
|
python3 -m venv /opt/ansible &> /dev/null
|
||||||
/opt/ansible/bin/pip3 install ansible &> /dev/null
|
/opt/ansible/bin/pip3 install ansible &> /dev/null
|
||||||
/opt/ansible/bin/pip3 install cryptography dnspython hvac jmespath netaddr pexpect &> /dev/null
|
/opt/ansible/bin/pip3 install cryptography dnspython hvac jmespath netaddr pexpect &> /dev/null
|
||||||
|
@ -4,8 +4,8 @@ wi-init(){
|
|||||||
|
|
||||||
mkdir -p ~/.ssh/keys &> /dev/null
|
mkdir -p ~/.ssh/keys &> /dev/null
|
||||||
|
|
||||||
apt-get install -y python3-pip python3-venv jq git curl &> /dev/null
|
apt-get install -y python3-pip python3-venv jq git curl lsb-release &> /dev/null
|
||||||
dnf install -y python3-pip jq git curl &> /dev/null
|
dnf install -y python3-pip jq git curl lsb_release &> /dev/null
|
||||||
python3 -m venv /opt/ansible &> /dev/null
|
python3 -m venv /opt/ansible &> /dev/null
|
||||||
/opt/ansible/bin/pip3 install ansible &> /dev/null
|
/opt/ansible/bin/pip3 install ansible &> /dev/null
|
||||||
/opt/ansible/bin/pip3 install cryptography dnspython hvac jmespath netaddr pexpect &> /dev/null
|
/opt/ansible/bin/pip3 install cryptography dnspython hvac jmespath netaddr pexpect &> /dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user