diff --git a/.codespellignore b/.codespellignore index 371c3fd..ae50fdd 100644 --- a/.codespellignore +++ b/.codespellignore @@ -2,3 +2,4 @@ tre positon ro stap +bootup diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md index a2147fd..dc7cc71 100644 --- a/.github/CODE_OF_CONDUCT.md +++ b/.github/CODE_OF_CONDUCT.md @@ -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. diff --git a/tasks/redhat-kpatch.yml b/tasks/redhat-kpatch.yml index 05b4ba3..6f01478 100644 --- a/tasks/redhat-kpatch.yml +++ b/tasks/redhat-kpatch.yml @@ -3,7 +3,7 @@ ## RHEL7.2+ - name: Ensure kpatch is present - ansible.builtin.yum: + ansible.builtin.dnf: name: kpatch state: present register: pkg_result diff --git a/tasks/redhat.yml b/tasks/redhat.yml index 1214e7f..4fe1729 100644 --- a/tasks/redhat.yml +++ b/tasks/redhat.yml @@ -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 @@ -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 diff --git a/tasks/testing.yml b/tasks/testing.yml index 736a8e0..99e530d 100644 --- a/tasks/testing.yml +++ b/tasks/testing.yml @@ -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' diff --git a/tasks/yum-cron.yml b/tasks/yum-cron.yml index 6aa2392..92ee994 100644 --- a/tasks/yum-cron.yml +++ b/tasks/yum-cron.yml @@ -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