diff --git a/library/utilities/fail b/library/utilities/fail index 7023f357cac..23f5b83668c 100644 --- a/library/utilities/fail +++ b/library/utilities/fail @@ -40,5 +40,5 @@ author: Dag Wieers EXAMPLES = ''' # Example playbook using fail and when together - fail: msg="The system may not be provisioned according to the CMDB status." - when: "{{ cmdb_status }} != 'to-be-staged'" + when: cmdb_status != "to-be-staged" '''