summaryrefslogtreecommitdiffstats
path: root/jjb/oom/include-yaml-check.sh
blob: 27359e597fefd612d46ff8e2342772c5fd230fab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

# setting-up bash flags
set -x -e -o pipefail

# remove old ansible - current centos build minion
# is quite old and using incompatible ansible 2.4.x
sudo yum -y remove ansible
sudo pip install ansible ansible-lint

# perform check
ansible --version
ansible-lint --version
ansible-lint ./ansible/site.yml -vvv