20 lines
334 B
Bash
Executable File
20 lines
334 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Author: Landon Dyck
|
|
# Installs ansible dependencies in a python env
|
|
#
|
|
# Usage: $ ./setup.sh
|
|
|
|
set -e
|
|
|
|
PATH=${PWD}/env/bin:${PATH}
|
|
|
|
set -x
|
|
|
|
python -m venv env
|
|
|
|
pip install -Ur ansible/requirements.txt
|
|
|
|
cd ansible/ && ansible-galaxy install -r galaxy-requirements.yml
|
|
|
|
go install github.com/mikefarah/yq/v4@latest |