ansible/library
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
..
cloud fix short/full description for elasticache 2013-12-26 14:35:57 -05:00
commands shell module: document removes option and sync with command module doc 2013-12-25 12:12:11 +01:00
database Merge pull request #5099 from tartansandal/postgresql_db_check_mode 2013-12-16 11:39:16 -08:00
files Merge pull request #5427 from bcoca/template_docs2 2013-12-26 10:30:44 -08:00
internal Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
inventory Make add_host clear the inventory pattern cache, add some more aliases. Fixes #4442. 2013-10-11 16:37:10 -04:00
messaging Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
monitoring module(nagios): don't catch SystemExit 2013-12-04 13:57:55 +01:00
net_infrastructure Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
network Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
notification module is not exposed to send_msg, but main() catches exceptions and uses module.fail_json 2013-12-06 11:42:30 -06:00
packaging Use task names in examples. 2013-12-26 13:46:09 -05:00
source_control Fixes #5023 Convert all modules to use new snippet import pattern 2013-12-02 15:11:23 -05:00
system Fix a documentation item. 2013-12-25 13:50:15 -05:00
utilities Fix documentation example for the fail module 2013-12-26 16:32:32 -08:00
web_infrastructure Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00