2019-12-08 12:07:57 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2020-01-17 20:38:45 +00:00
|
|
|
PATH=${PWD}/env/bin:${PATH}
|
2019-12-08 12:07:57 +00:00
|
|
|
|
|
|
|
set -x
|
|
|
|
|
2020-06-15 13:21:52 +01:00
|
|
|
yamllint -sc ansible/yamllint.yml ansible/
|
2019-12-08 12:07:57 +00:00
|
|
|
|
2020-06-15 13:21:52 +01:00
|
|
|
ansible-lint ansible/main.yml -p -c ansible/.ansible-lint --exclude ansible/galaxy_roles/
|
2019-12-08 12:07:57 +00:00
|
|
|
|
2020-06-15 13:21:52 +01:00
|
|
|
cd ansible/ && ansible-playbook main.yml --syntax-check
|