File tree 1 file changed +26
-0
lines changed
1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Validate Ansible Roles
2
+ on :
3
+ push :
4
+ branches : [ master ]
5
+ pull_request :
6
+ branches : [ master ]
7
+ jobs :
8
+ validate :
9
+ name : Validate Ansible Roles
10
+ runs-on : ubuntu-20.04
11
+ steps :
12
+ - name : Install Deps
13
+ uses : mstksg/get-package@master
14
+ with :
15
+ apt-get : cmake ninja-build libopenscap8 libxml2-utils expat xsltproc python3-jinja2 python3-yaml ansible-lint python3-github
16
+ - name : Checkout
17
+ uses : actions/checkout@v1
18
+ - name : Build
19
+ run : |
20
+ ./build_product rhel7 rhel8 rhv4
21
+ - name : Build Ansible Roles
22
+ run : |
23
+ PYTHONPATH=. python3 utils/ansible_playbook_to_role.py --build-playbooks-dir ./build/ansible/ --dry-run ./build/ansible_roles
24
+ - name : Lint Ansible Roles
25
+ run : |
26
+ ansible-lint -x 204 ./build/ansible_roles/*
You can’t perform that action at this time.
0 commit comments