Hi,
I'm using the latest version of ansible.
I have a variable defined in my group_vars file as follows:
var_name: 01
When using it in a task - {{var_name}}, the value is 1 instead of 01.
I require the value to be as is without ansible trying to convert it to int.
I tried using {{var_name | string}} - with no success.
Is this a bug or is there away to force ansible to treat the variable value
as is?
Thanks,
Moti.
--
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/aca8f209-a59b-4e2b-a992-32923226ef3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.