diff --git a/tasks/section_2/cis_2.4.yml b/tasks/section_2/cis_2.4.yml index ac56312..15048f6 100644 --- a/tasks/section_2/cis_2.4.yml +++ b/tasks/section_2/cis_2.4.yml @@ -10,7 +10,7 @@ register: rhel9cis_2_4_services - name: "2.4 | AUDIT | Ensure nonessential services listening on the system are removed or masked | Get list of sockets" - ansible.builtin.shell: systemctl list-units --type=sockets + ansible.builtin.shell: systemctl list-units --type=socket changed_when: false failed_when: false check_mode: false