4
0
Fork 0

removed arg warn

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2023-01-10 11:19:41 +00:00
parent cb0dd58df5
commit 77dd593e0f
No known key found for this signature in database
GPG key ID: 1DE02A772D0908F9
6 changed files with 0 additions and 30 deletions

View file

@ -4,8 +4,6 @@
# List users in order to look files inside each home directory
- name: "PRELIM | List users accounts"
shell: "awk -F: '{print $1}' /etc/passwd"
args:
warn: false
changed_when: false
check_mode: false
register: users
@ -16,8 +14,6 @@
- name: "PRELIM | Gather accounts with empty password fields"
shell: "cat /etc/shadow | awk -F: '($2 == \"\" ) {j++;print $1; } END {exit j}'"
args:
warn: false
changed_when: false
check_mode: false
register: empty_password_accounts
@ -28,8 +24,6 @@
- name: "PRELIM | Gather UID 0 accounts other than root"
shell: "cat /etc/passwd | awk -F: '($3 == 0 && $1 != \"root\") {i++;print $1 } END {exit i}'"
args:
warn: false
changed_when: false
check_mode: false
register: rhel9cis_uid_zero_accounts_except_root
@ -50,8 +44,6 @@
- name: "PRELIM | Gather system-wide crypto-policy"
shell: update-crypto-policies --show
args:
warn: false
changed_when: false
check_mode: false
register: system_wide_crypto_policy