From 0008ce9ea2c2fd328da66f756d882cd7589bd826 Mon Sep 17 00:00:00 2001 From: Rafael Laszlo <rlacko99@gmail.com> Date: Tue, 9 Nov 2021 13:34:01 +0100 Subject: [PATCH] Make bootstrap.sh force reload optional --- ansible/README.md | 1 + ansible/bootstrap.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible/README.md b/ansible/README.md index f2b7189..e9212f2 100644 --- a/ansible/README.md +++ b/ansible/README.md @@ -11,4 +11,5 @@ have to specify it when running `bootstrap.sh`: This file can be run everytime to setup your environment. Look into the file, quite simple. +If you want to reload all dependencies, run `./bootstrap.sh --force` diff --git a/ansible/bootstrap.sh b/ansible/bootstrap.sh index 68ea88e..67f34a5 100755 --- a/ansible/bootstrap.sh +++ b/ansible/bootstrap.sh @@ -8,7 +8,7 @@ source .venv/bin/activate pip3 install ansible ansible-lint -ansible-galaxy install --force -r requirements.galaxy.yaml +ansible-galaxy install "$1" -r requirements.galaxy.yaml # to stay in our comfy virtualenv exec "${SHELL:bash}" -- GitLab