diff --git a/init.sh b/init.sh index c25f33a..b98f70f 100755 --- a/init.sh +++ b/init.sh @@ -64,6 +64,8 @@ wi-init(){ export HVT=${config["login",$ORG]} + /opt/ansible/bin/ansible-galaxy collection install ansible.posix ansible.utils community.crypto community.docker community.general community.hashi_vault community.libvirt community.mysql community.postgresql containers.podman --upgrade + /opt/ansible/bin/ansible-pull -U ssh://git@$GIT_DOMAIN:$GIT_PORT/$GIT_REPOSITORY --vault-password-file ~/.ansible/vault.yml --private-key ~/.ssh/init playbooks/init.yml -t init unset HVT diff --git a/src/functions/init.sh b/src/functions/init.sh index cf6c18e..68c44f2 100644 --- a/src/functions/init.sh +++ b/src/functions/init.sh @@ -45,6 +45,8 @@ wi-init(){ export HVT=${config["login",$ORG]} + /opt/ansible/bin/ansible-galaxy collection install ansible.posix ansible.utils community.crypto community.docker community.general community.hashi_vault community.libvirt community.mysql community.postgresql containers.podman --upgrade + /opt/ansible/bin/ansible-pull -U ssh://git@$GIT_DOMAIN:$GIT_PORT/$GIT_REPOSITORY --vault-password-file ~/.ansible/vault.yml --private-key ~/.ssh/init playbooks/init.yml -t init unset HVT