File tree Expand file tree Collapse file tree 5 files changed +26
-8
lines changed
Expand file tree Collapse file tree 5 files changed +26
-8
lines changed Original file line number Diff line number Diff line change @@ -27,3 +27,6 @@ mock_roles:
2727skip_list:
2828 # Variables names from within roles should use role_name_ as a prefix
2929 - var-naming[no-role-prefix]
30+ - key-order[play]
31+ - fqcn[action-core]
32+ - var-naming[no-reserved]
Original file line number Diff line number Diff line change @@ -2,14 +2,22 @@ name: Ansible Lint
22on :
33 pull_request :
44 paths :
5- - playbooks/**.yaml
5+ - playbooks/**.yaml
66jobs :
77 build :
88 runs-on : ubuntu-latest
99 steps :
10- - name : checks-out the repository under $GITHUB_WORKSPACE
11- uses : actions/checkout@v3
12- - name : run ansible-lint
13- uses : ansible/ansible-lint-action@main
14- with :
15- path : playbooks/
10+
11+ - name : Checks-out the repository under $GITHUB_WORKSPACE
12+ uses : actions/checkout@v4
13+ with :
14+ fetch-depth : 0
15+
16+ - name : Install ansible-lint
17+ run : python3 -m pip install ansible-dev-tools --user
18+
19+ - name : Install dependency
20+ run : ansible-galaxy collection install -r requirements.yaml
21+
22+ - name : Run lint
23+ run : ansible-lint playbooks/**
Original file line number Diff line number Diff line change 535535 - sriov_interface is defined or dpdk_interface is defined or kernel_args is defined
536536 block :
537537 - name : Reboot the node
538- become_user : root
538+ become : true
539539 ansible.builtin.reboot :
540540 - name : Pause for 2 minutes to let all containers to start and OpenStack to be ready
541541 ansible.builtin.pause :
Original file line number Diff line number Diff line change 11---
2+
23- hosts : standalone
34 become : true
45 become_user : stack
Original file line number Diff line number Diff line change 1+ collections :
2+ - ansible.posix
3+ - community.general
4+ - tripleo.operator
5+ - containers.podman
6+ - community.crypto
You can’t perform that action at this time.
0 commit comments