--
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 ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAFnH2h-uMs8T1TADKJ1Sc%3DGy7%2BMoYQCoog%3DvUokZKJs-jHm28A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
I tried all the suggestions but it did not work.
With the following in my config file:
sp_ver: 2016
and with following code:
sp = ‘abc’
When: sp_ver | int == 2016
sp = ‘def’
When: sp_ver == “2016”
Both variations did not work. Jordan mentioned on the irc channel a nice solution which was to create dictionary item and then use sp_ver as a lookup which worked very nicely. But I am really interested for learning purposes why the above do not work.
Thanks again.
Sent from Mail for Windows 10
--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/73b68aea-8be8-4edb-b7be-e9f807695c71%40googlegroups.com.