File tree Expand file tree Collapse file tree 8 files changed +22
-19
lines changed
Expand file tree Collapse file tree 8 files changed +22
-19
lines changed Original file line number Diff line number Diff line change 22
33use_default_rules: true
44
5- # skip_list:
6-
75exclude_paths:
86 - .github
97 - dbhome-conversion
108 - docker
119 - plugins/modules
12- - playbooks
10+ - playbooks/desupported
1311 - changelogs
12+
13+ extra_vars:
14+ hostgroup: all
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ name: Ansible Lint
44on :
55 pull_request :
66 branches :
7- - oc
87 - master
98 push :
109 branches :
2423 uses : ansible-community/ansible-lint-action@v6.5.2
2524 with :
2625 targets : |
26+ inventory/*
27+ playbooks/*
2728 roles/*
28-
29- args : " "
Original file line number Diff line number Diff line change @@ -3,9 +3,7 @@ name: Test antsibull-changelog lint
33on :
44 pull_request :
55 branches :
6- - oc
76 - master
8- - collection
97 push :
108 branches :
119 - ' pr*'
Original file line number Diff line number Diff line change 1+ ---
2+ minor_changes :
3+ - " ansible-lint: linting and github actions for playbooks and inventory (#270)"
4+ - " github actions: antsibull-changelog removed obsolete branches (#270)"
5+ bugfixes :
6+ - " requirements.yml: removed ansible-oracle due to loop in ansible-lint (#270)"
7+ - " github actions: ansible-lint: removed args due to deprecation warning (#270)"
Original file line number Diff line number Diff line change 1717
1818 post_tasks :
1919 - name : Restart autofs
20- service : name=autofs enabled=yes state=restarted
20+ ansible.builtin. service : name=autofs enabled=yes state=restarted
2121 tags : autofs
Original file line number Diff line number Diff line change 1515 - name : yum update yum packages 1st
1616 ansible.builtin.package :
1717 # noqa package-latest
18- name : " yum*"
18+ name : yum*
1919 state : latest
2020 register : yumyumstate
2121
2222 - ansible.builtin.debug : msg="{{ yumyumstate.results }}"
23- # noqa unnamed-task
23+ # noqa unnamed-task
2424
2525 - name : Kernel Update with later Reboot
2626 ansible.builtin.package :
2727 # noqa package-latest
28- name : " kernel-uek"
28+ name : kernel-uek
2929 state : latest
3030 register : kernelstate
3131
3232 - ansible.builtin.debug : msg="{{ kernelstate.results }}"
33- # noqa unnamed-task
33+ # noqa unnamed-task
3434
3535 - name : yum update
3636 ansible.builtin.package :
4040 register : updatestate
4141
4242 - ansible.builtin.debug : msg="{{ kernelstate.results }}"
43- # noqa unnamed-task
43+ # noqa unnamed-task
4444
4545 - name : reboot due to Kernel Update
4646 # noqa no-handler
Original file line number Diff line number Diff line change 77 any_errors_fatal : true
88 tasks :
99 - name : set new hostname
10- hostname :
10+ ansible.builtin. hostname :
1111 name : " {{ inventory_hostname }}"
1212
1313 - name : Remove /etc/hosts
14- file :
14+ ansible.builtin. file :
1515 path : /etc/hosts
1616 state : absent
1717
1818 - name : Update /etc/hosts
19- blockinfile :
19+ ansible.builtin. blockinfile :
2020 path : /etc/hosts
2121 mode : 0644
2222 create : true
Original file line number Diff line number Diff line change 22collections :
33 - name : devsec.hardening
44 version : 8.2.0
5- - name : opitzconsulting.ansible_oracle
6- version : 3.0.0
You can’t perform that action at this time.
0 commit comments