From d6344baf7045920591d3f9c4a81544b472c6fc39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Wed, 22 May 2024 05:00:07 +0300 Subject: [PATCH] Code Update --- init.sh | 2 ++ src/functions/init.sh | 2 ++ 2 files changed, 4 insertions(+) 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