forked from ansible-lockdown/RHEL9-CIS
changed command to shell for grep
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
15bf03c754
commit
daf5a3f462
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
|||
tags: always
|
||||
block:
|
||||
- name: "PRELIM | 5.5.2 | 6.2.7 | 6.2.8 | 6.2.20 | Parse /etc/passwd"
|
||||
ansible.builtin.command: cat /etc/passwd | grep -v '^#'
|
||||
ansible.builtin.shell: cat /etc/passwd | grep -v '^#'
|
||||
changed_when: false
|
||||
check_mode: false
|
||||
register: prelim_passwd_file_audit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue