You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using "when" statements there is no need for template evaluation, plus it's also nice to be using the new-style variables everywhere as the old forms will eventually be deprecated. I want to make sure it's not because of this style of evaluation that you're getting the false positive on the first comparison.
I think i've found a problem with conditionals inside a role that is part of a playbook condtional. Here is my setup running on latest dev branch.
ansible-playbook --version
ansible-playbook 1.3 (devel 808d959) last updated 2013/09/10 10:53:29 (GMT +1100)
playbook: test.yml
myapplication role task main.yml
running the ansible-playbook with following command
Thats fine but running with false still processes Task 2 conditional
I have tried
when: ${task1_var.changed} == true
but I would like to check the actual result
might be related to #3539
The text was updated successfully, but these errors were encountered: