From 42deedc34be76bfb29ad1341cc2f44e62f644d14 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Wed, 1 Jun 2016 15:47:46 +0200 Subject: [PATCH] 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 --- tasks/auth.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/auth.yml b/tasks/auth.yml index f865ed71..63f89344 100644 --- a/tasks/auth.yml +++ b/tasks/auth.yml @@ -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