forked from data.coop/ansible
Add installation of community modules to deploy.sh
This commit is contained in:
parent
5f718e1027
commit
d597a956ff
|
@ -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