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"}}
2013-12-26 16:32:32 -08:00
..
accelerate Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
debug Added "debug: var=variableName" capability. 2013-10-14 21:01:38 -04:00
fail Fix documentation example for the fail module 2013-12-26 16:32:32 -08:00
fireball Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
include_vars Update module documentation. 2013-11-02 09:34:44 -04:00
pause DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition) 2013-06-15 20:54:25 +02:00
set_fact Remove reference to non-existant module. 2013-06-16 23:33:49 -04:00
wait_for Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00