File tree Expand file tree Collapse file tree 7 files changed +41
-3
lines changed
Expand file tree Collapse file tree 7 files changed +41
-3
lines changed Original file line number Diff line number Diff line change 1+ skip_list:
2+ - 'yaml'
Original file line number Diff line number Diff line change 1+ ---
2+ name : Lint
3+ # yamllint disable-line rule:truthy
4+ on :
5+ push :
6+ branches :
7+ - main
8+ pull_request :
9+ branches :
10+ - main
11+
12+ jobs :
13+ lint :
14+ name : Linting
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v4
19+
20+ - name : Install dependencies
21+ run : pip3 install yamllint
22+
23+ - name : Run Yaml Lint
24+ run : |
25+ yamllint .
26+
27+ - name : Run Ansible Lint
28+ uses : ansible/ansible-lint@main
Original file line number Diff line number Diff line change 1+ .vscode
Original file line number Diff line number Diff line change 1+ ---
2+ extends : default
3+
4+ rules :
5+ line-length :
6+ max : 230
7+ level : warning
Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ el_patching_auto_reboot: false
99# el_patching_exclude_packages:
1010# - tar
1111# - zip
12- # el_patching_update_cache: true
12+ # el_patching_update_cache: true
Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ galaxy_info:
1414 - name : EL
1515 versions :
1616 - " 8"
17- - " 9"
17+ - " 9"
Original file line number Diff line number Diff line change 4646- name : Reboot host
4747 ansible.builtin.reboot :
4848 reboot_timeout : " {{ el_patching_reboot_timeout }}"
49- when : el_patching_auto_reboot | bool and __el_patching_need_restart.rc == 1
49+ when : el_patching_auto_reboot | bool and __el_patching_need_restart.rc == 1
You can’t perform that action at this time.
0 commit comments