File tree Expand file tree Collapse file tree 7 files changed +44
-3
lines changed
Expand file tree Collapse file tree 7 files changed +44
-3
lines changed Original file line number Diff line number Diff line change 1+ skip_list:
2+ - 'yaml'
3+ - 'package-latest'
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 1+ ---
12galaxy_info :
23 author : voidquark
34 description : Apply Linux OS patches
@@ -14,4 +15,4 @@ galaxy_info:
1415 - name : EL
1516 versions :
1617 - " 8"
17- - " 9"
18+ - " 9"
Original file line number Diff line number Diff line change 3737 cmd : needs-restarting --reboothint
3838 register : __el_patching_need_restart
3939 failed_when : __el_patching_need_restart.rc > 1
40+ changed_when : false
4041
4142- name : Inform user if reboot is required
4243 ansible.builtin.debug :
4647- name : Reboot host
4748 ansible.builtin.reboot :
4849 reboot_timeout : " {{ el_patching_reboot_timeout }}"
49- when : el_patching_auto_reboot | bool and __el_patching_need_restart.rc == 1
50+ 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