Select Git revision
.gitlab-ci.yml
This GitLab CI configuration is valid.
Learn more
bootstrap.sh 358 B
#!/usr/bin/env bash
# This script creates a Python env, enters it and installs
# ansible and requirements from the requirements.galaxy.yaml
[[ ! -d .venv ]] && python3 -m venv .venv
source .venv/bin/activate
pip3 install ansible ansible-lint
ansible-galaxy install "$1" -r requirements.galaxy.yaml
# to stay in our comfy virtualenv
exec "${SHELL:bash}"