Commit Graph

26 Commits (de08965ab3e56a0b748704efd82c02e89b902f06)

Author SHA1 Message Date
Eric Anderson dd8079776d url for comparisons for more supported examples 8 years ago
Fabio Alessandro Locati b931873f3a Remove see also at the same page (#17317) 8 years ago
Tim Whittington 2b3a22fdba Document when clause list of conditions (#17206)
The 'when' clause supports a list of conditions, applying a logical 'and' to the conditions (i.e. requiring all of them to be true).

This can be useful for legibility sometimes, allowing distinct conditions to be listed on separate lines.
8 years ago
Olaf Alders 8681df4b58 s/shutdown/shut down/ (#17107)
shutdown is a noun.  In the task name you really want a verb.
8 years ago
Johanan Lieberman b3ca0c02c5 Fixed typo in Conditionals documentation page (#16537) 9 years ago
Johanan Lieberman 2f69baf1b9 Fixed typo in Conditionals documentation page (#16531) 9 years ago
nitzmahone ca183c5bd8 update conditional docs to clarify no mustaches required 9 years ago
Brian Coca 96495594cc added clarification on results tests naming 9 years ago
Sven-Hendrik Haase 070af51370 Update for preferred syntax (#15945) 9 years ago
Fran Torres-Lopez 0eead1a3f6 Add example of checking registered variable for emptiness. (#15510) 9 years ago
Brian Coca 7376405358 updated conditional docs
- added missing anchors
- clarified when/with interactions
- added examples for skipping loops on undefined vars
9 years ago
Brian Coca ec95f50cb6 updated docs with new test grammer examples 9 years ago
Brian Coca 4ec0536168 made condition not simplifiable to 'in' 9 years ago
Toshio Kuratomi 6faaf41069 Update conditional docs since @jimi-c got playbook includes working in 2.0 9 years ago
Michael Scherer 106e942faa Document and test 'is undefined' rather than 'is not defined'
According to https://github.com/ansible/ansible/issues/10273,
this syntax should work better for nested dicts.
9 years ago
Toshio Kuratomi bad554d517 Merge pull request #9268 from kustodian/docs_advance_conditions
Added an example for paretheses
10 years ago
Maximilian Albert af593c2f51 Add note to section 'Loops' that the 'when:' statement is processed per-item. 10 years ago
Jérémie Astori 35b94948b9 Fix conditionals doc example
Use most recent parameters for yum
10 years ago
Strahinja Kustudic 3ca654ad9a Added an example for paretheses 10 years ago
Jim Turner 4d7fe4b7cf Remove duplicate table of contents in Conditionals 11 years ago
Taylor Brown 5fce765601 Removing colon from example failure message
The example failure message was given as - fail: msg="Bailing out: this play requires 'bar'"

The colon in the example causes a YAML compile error, so I am replacing it with a '.'
11 years ago
James Tanner 5c64d703b9 Fixes #5227 Corrected doc example of with_first_found 11 years ago
Mikhail Sobolev 64652fa6ab fix various documentation xrefs 11 years ago
Michael DeHaan 1c29f043b4 Add contents to various pages with more than one topic per page. 11 years ago
Michael DeHaan 041cea134f New Sphinx theme has sidebar navigation so don't need TOC on each page. 11 years ago
Michael DeHaan 0cd09dd54f Remove extra "latest/" subdirectory in docs build structure. 11 years ago