Last Updated: February 25, 2016
· dorfsmay

only_if and tasks that are skipped

If you register a variable, but that very task get skipped, "only_if" will give you an error because the variable isn't defined.

Use "when_set" instead of "only_if". Check conditional execution in the doc.

1 Response
Add your response


use when: instead of all of the above

over 1 year ago ·