scripts v1
This commit is contained in:
20
ansible/setup.sh
Executable file
20
ansible/setup.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user