From b383c1ddd0ce3aeffa865b50efbe2c21f74cd855 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Sat, 23 Nov 2024 01:10:33 +0200 Subject: [PATCH] Add lsb_release to Ansible dependencies --- init.sh | 4 ++-- src/functions/init.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/init.sh b/init.sh index d016a7b..2ec7a1c 100755 --- a/init.sh +++ b/init.sh @@ -70,8 +70,8 @@ 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 + apt-get install -y python3-pip python3-venv jq git curl lsb-release &> /dev/null + dnf install -y python3-pip jq git curl lsb_release &> /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 diff --git a/src/functions/init.sh b/src/functions/init.sh index cdcd205..8d26828 100644 --- a/src/functions/init.sh +++ b/src/functions/init.sh @@ -4,8 +4,8 @@ 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 + apt-get install -y python3-pip python3-venv jq git curl lsb-release &> /dev/null + dnf install -y python3-pip jq git curl lsb_release &> /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