Skip to content

Instantly share code, notes, and snippets.

@bloodearnest
Created August 15, 2014 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bloodearnest/d5e6e00b299bfaa56db1 to your computer and use it in GitHub Desktop.
Save bloodearnest/d5e6e00b299bfaa56db1 to your computer and use it in GitHub Desktop.
Ansible integer
vars:
an_int: 3
some_dict:
other: "{{ an_int }}"
# this means that some_dict.other is now a string.
# using {{ an_int|int }} doesn't work, of course
# am I missing something?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment