You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/library/utilities
Jim Kleckner edca1d69cf Fix documentation example for the fail module
The example for the fail module doesn't work:
  http://www.ansibleworks.com/docs/modules.html#fail

The current text shows:
    - fail: msg="The system may not be provisioned according to the CMDB status."
      when: "{{ cmdb_status }} != 'to-be-staged'"

The "when" documentation indicates that the argument is already a Jinja2
expression:
  http://www.ansibleworks.com/docs/playbooks_conditionals.html#the-when-statement

Thus, the following is
      when: cmdb_status != "to-be-staged"

is preferred even though the following could work but generates a
deprecation warning:
      when: {{cmdb_status != "to-be-staged"}}
11 years ago
..
accelerate Addresses #5023 Fix import comments 11 years ago
debug Added "debug: var=variableName" capability. 11 years ago
fail Fix documentation example for the fail module 11 years ago
fireball Addresses #5023 Fix import comments 11 years ago
include_vars Update module documentation. 11 years ago
pause DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition) 12 years ago
set_fact Remove reference to non-existant module. 12 years ago
wait_for Addresses #5023 Fix import comments 11 years ago