Restructure helper scripts so they're slightly more useful

This commit is contained in:
Jake Howard
2020-02-22 20:41:04 +00:00
parent ac6210d618
commit 34aa3a52f8
9 changed files with 11 additions and 20 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -e
PATH=${PWD}/env/bin:${PATH}
set -x
cd ansible/
ansible-playbook main.yml -K --vault-password-file .vault_pass
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -e
PATH=${PWD}/env/bin:${PATH}
set -x
yamllint -sc yamllint.yml ansible/
ansible-lint ansible/main.yml -p -c ansible/.ansible-lint
cd ansible/ && ansible-playbook main.yml --syntax-check
+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -ex
python -m venv env
env/bin/pip install -r dev-requirements.txt