Skip to content

Commit

Permalink
chore: fix spellcheck, ansible legacy module
Browse files Browse the repository at this point in the history
  • Loading branch information
juju4 committed Jul 4, 2024
1 parent 6a8fe51 commit f04dbf3
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .codespellignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ tre
positon
ro
stap
bootup
2 changes: 1 addition & 1 deletion .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
identity and expression, level of experience, education, socioeconomic status,
nationality, personal appearance, race, caste, color, religion, or sexual
identity and orientation.

Expand Down
2 changes: 1 addition & 1 deletion tasks/redhat-kpatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## RHEL7.2+

- name: Ensure kpatch is present
ansible.builtin.yum:
ansible.builtin.dnf:
name: kpatch
state: present
register: pkg_result
Expand Down
4 changes: 2 additions & 2 deletions tasks/redhat.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---

- name: Redhat | Remove some packages
ansible.builtin.yum:
ansible.builtin.dnf:
name: rpcbind
state: absent
when: harden_use_rpc is not defined or not harden_use_rpc
Expand All @@ -14,7 +14,7 @@
when: (harden_upgradeall is defined and harden_upgradeall) and (travisci is not defined or not travisci)
block:
- name: Redhat | upgrade all packages to the latest version
ansible.builtin.yum: # noqa package-latest
ansible.builtin.dnf: # noqa package-latest
name: '*'
state: latest
async: 3600
Expand Down
2 changes: 1 addition & 1 deletion tasks/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
register: pkg_result
until: pkg_result is success
- name: RedHat | install inspec package
ansible.builtin.yum:
ansible.builtin.dnf:
name: "/tmp/{{ inspec_url | basename }}"
state: present
when: ansible_os_family == 'RedHat'
Expand Down
2 changes: 1 addition & 1 deletion tasks/yum-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## http://unix.stackexchange.com/questions/252314/why-does-a-yum-package-update-replaces-my-yum-cron-config-files

- name: RedHat | Ensure yum-cron package is present
ansible.builtin.yum:
ansible.builtin.dnf:
name: yum-cron
state: present
register: pkg_result
Expand Down

0 comments on commit f04dbf3

Please sign in to comment.