7d990fa167
- The old documentation stated not to quote the variable in the function, which is obviously wrong. When using lists or integers, we have to quote otherwise the startswith() method will trip over its non-existence. - It was unclear that the only_if statement is processed for each item when doing with_items, so I added an example making it crystal clear how this can be used in your advantage (or why a non-existing list variable can break your logic if you expected the only_if to be processed once before running the task) |
||
---|---|---|
.. | ||
modules | ||
api.rst | ||
bestpractices.rst | ||
examples.rst | ||
gettingstarted.rst | ||
index.rst | ||
moduledev.rst | ||
modules.rst | ||
patterns.rst | ||
playbooks.rst | ||
playbooks2.rst | ||
who_uses_ansible.rst | ||
YAMLSyntax.rst |