apt-get update

This commit is contained in:
olli 2024-09-29 19:45:29 +02:00
parent 1f9de2d92c
commit 35aa14d418

View File

@ -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
done