Trying to set_fact based on user input:
- set_fact:
wls_bounce_jvm: True
when: bounce_managed_instance == True and deploy == True
On my Mac OSX system running version 2.1.2.0.1_0 and 2.2.0.0.1_0 works
without issue.
If I run the same code on RHEL 6 version 2.1.0.0-1
The fact doesn't get set, keeps skipping.
I have tried putting it all these different ways:
- set_fact:
wls_bounce_jvm: True
when: bounce_managed_instance and deploy
and
- set_fact:
wls_bounce_jvm: True
when: ( bounce_managed_instance == True ) and ( deploy == True )
When I had it set to "when: bounce_managed_instance and deploy" it started
setting it to True but when I changed bounce_managed_instance to False it
still kept returning True.
I don't understand how it can be working differently between systems.
Has anyone else experienced this problem?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/03bcb27c-bfdc-4fd3-b21c-f43ac13d1c70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.