From e0e25ef1ac6ff39d8f3195967fe3dd012329c911 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Mon, 1 Jul 2024 06:23:18 +0300 Subject: [PATCH] Code Update --- init.sh | 4 ++-- src/functions/init.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/init.sh b/init.sh index 9725197..ef7801a 100755 --- a/init.sh +++ b/init.sh @@ -73,7 +73,7 @@ wi-init(){ apt-get install -y python3-pip python3-venv jq git curl &> /dev/null python3 -m venv /opt/ansible &> /dev/null /opt/ansible/bin/pip3 install ansible &> /dev/null - /opt/ansible/bin/pip3 install dnspython hvac jmespath netaddr pexpect &> /dev/null + /opt/ansible/bin/pip3 install cryptography dnspython hvac jmespath netaddr pexpect &> /dev/null curl \ -H "X-Vault-Token: ${config["login",$ORG]}" \ @@ -108,7 +108,7 @@ wi-init(){ export HVT=${config["login",$ORG]} - /opt/ansible/bin/ansible-galaxy collection install ansible.posix ansible.utils community.crypto community.dns community.docker community.general community.hashi_vault community.libvirt community.mysql community.postgresql containers.podman --upgrade &> /dev/null + /opt/ansible/bin/ansible-galaxy collection install ansible.posix ansible.utils community.crypto community.dns community.docker community.general community.hashi_vault community.libvirt community.mongodb community.mysql community.postgresql containers.podman --upgrade &> /dev/null /opt/ansible/bin/ansible-pull -U ssh://git@$GIT_DOMAIN:$GIT_PORT/$GIT_REPOSITORY --accept-host-key --vault-password-file ~/.ansible/vault.yml --private-key ~/.ssh/keys/init playbooks/init.yml -t init diff --git a/src/functions/init.sh b/src/functions/init.sh index ccde209..a07e1b6 100644 --- a/src/functions/init.sh +++ b/src/functions/init.sh @@ -7,7 +7,7 @@ wi-init(){ apt-get install -y python3-pip python3-venv jq git curl &> /dev/null python3 -m venv /opt/ansible &> /dev/null /opt/ansible/bin/pip3 install ansible &> /dev/null - /opt/ansible/bin/pip3 install dnspython hvac jmespath netaddr pexpect &> /dev/null + /opt/ansible/bin/pip3 install cryptography dnspython hvac jmespath netaddr pexpect &> /dev/null curl \ -H "X-Vault-Token: ${config["login",$ORG]}" \ @@ -42,7 +42,7 @@ wi-init(){ export HVT=${config["login",$ORG]} - /opt/ansible/bin/ansible-galaxy collection install ansible.posix ansible.utils community.crypto community.dns community.docker community.general community.hashi_vault community.libvirt community.mysql community.postgresql containers.podman --upgrade &> /dev/null + /opt/ansible/bin/ansible-galaxy collection install ansible.posix ansible.utils community.crypto community.dns community.docker community.general community.hashi_vault community.libvirt community.mongodb community.mysql community.postgresql containers.podman --upgrade &> /dev/null /opt/ansible/bin/ansible-pull -U ssh://git@$GIT_DOMAIN:$GIT_PORT/$GIT_REPOSITORY --accept-host-key --vault-password-file ~/.ansible/vault.yml --private-key ~/.ssh/keys/init playbooks/init.yml -t init