forked from ansible-lockdown/RHEL9-CIS
2.4 : socket vs sockets
This looks for all active sockets, but the command is singular Signed-off-by: Svennd <svenn.dhert@uantwerpen.be>
This commit is contained in:
parent
79e36d8736
commit
2c09971cc2
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@
|
||||||
register: rhel9cis_2_4_services
|
register: rhel9cis_2_4_services
|
||||||
|
|
||||||
- name: "2.4 | AUDIT | Ensure nonessential services listening on the system are removed or masked | Get list of sockets"
|
- 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
|
changed_when: false
|
||||||
failed_when: false
|
failed_when: false
|
||||||
check_mode: false
|
check_mode: false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue