From 35aa14d4189dc7347b594dca63da2c3c80e77033 Mon Sep 17 00:00:00 2001 From: olli <> Date: Sun, 29 Sep 2024 19:45:29 +0200 Subject: [PATCH] apt-get update --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 88b7364..39948c0 100644 --- a/install.sh +++ b/install.sh @@ -13,6 +13,7 @@ then exit $? fi +apt-get update which ansible >/dev/null 2>&1 || sudo apt-get -y install ansible git #sudo ansible-galaxy collection list | grep -q community.general || sudo ansible-galaxy collection install community.general sudo ansible-galaxy collection install community.general @@ -38,4 +39,4 @@ do else sudo ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) ${playbook}/*.yml fi -done \ No newline at end of file +done