Firewall (UFW) #107
|
@ -2,6 +2,11 @@
|
|||
|
||||
BASE_CMD="ansible-playbook playbook.yml --ask-vault-pass"
|
||||
|
||||
if [ -z "$(ansible-galaxy collection list community.general 2>/dev/null)" ]; then
|
||||
echo "Installing community modules"
|
||||
ansible-galaxy collection install community.general
|
||||
fi
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "Deploying all!"
|
||||
$BASE_CMD
|
||||
|
|
Loading…
Reference in a new issue