Remove one more "FAILED" from a custom fail message
When failing with a custom message using the fail module the string "FAILED" is already included in the output of Ansible. Adding "FAILED" to the message itself is redundant. Change-Id: I3a12affb9dbe50048b86bef7ed7ddcdebf917306
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
# not locked.
|
||||
- name: V-38496 - Default operating system accounts (other than root) must be locked
|
||||
fail:
|
||||
msg: "FAILED: System accounts are unlocked: {{ v38496_violations }}"
|
||||
msg: "System accounts are unlocked: {{ v38496_violations }}"
|
||||
when: v38496_violations | length > 0
|
||||
tags:
|
||||
- auth
|
||||
|
||||
Reference in New Issue
Block a user