Michal Ptacek | b1d1626 | 2019-03-15 14:05:49 +0000 | [diff] [blame] | 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 |