Migrate to gerrit-maven-stage (MSB)
[ci-management.git] / jjb / oom / include-yaml-check.sh
1 #!/bin/bash
2
3 # setting-up bash flags
4 set -x -e -o pipefail
5
6 # remove old ansible - current centos build minion
7 # is quite old and using incompatible ansible 2.4.x
8 sudo yum -y remove ansible
9 sudo pip install ansible ansible-lint
10
11 # perform check
12 ansible --version
13 ansible-lint --version
14 ansible-lint ./ansible/site.yml -vvv