From 67007a552740b800f500e61ed4429452ca3390b7 Mon Sep 17 00:00:00 2001 From: arcter <varga.mate@kszk.bme.hu> Date: Sat, 9 Oct 2021 16:32:53 +0000 Subject: [PATCH] ADD bootrstrap --- Ansible/bootstrap.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Ansible/bootstrap.sh diff --git a/Ansible/bootstrap.sh b/Ansible/bootstrap.sh new file mode 100644 index 000000000..127e5df40 --- /dev/null +++ b/Ansible/bootstrap.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +[[ ! -d .venv ]] && python3 -m venv .venv +source .venv/bin/activate + +pip3 install ansible ansible-lint + +ansible-galaxy install --force -r requirements.galaxy.yaml + +# to stay in our comfy virtualenv +exec "${SHELL:bash}" -- GitLab