infrastructure/scripts/ansible/setup.sh
Jake Howard 3a8031cba4
All checks were successful
/ terraform (push) Successful in 1m17s
/ ansible (push) Successful in 2m16s
Always update galaxy roles
The galaxy package manager doesn't support skipping updates if the versions are the same, so force is the easiest way
2023-05-06 21:55:13 +01:00

13 lines
204 B
Bash
Executable file

#!/usr/bin/env bash
set -e
PATH=${PWD}/env/bin:${PATH}
set -x
python -m venv env
pip install -r ansible/dev-requirements.txt
cd ansible/ && ansible-galaxy install -r galaxy-requirements.yml --force