ansible/ansible — pull request #1404 by dagwieers (2012-10-22 10:30:12+00:00)
Title: Clarify how only_if works, also combined with with_items

- 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)