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
This is really just Jinja fun- since you won't always know the source of the var (eg, command-line -e vars don't undergo YAML type inference and are thus always strings), you need to assert/coerce that before doing mathematical ops. The right way to do it then, would be:
ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Ubuntu 14.04
Ubuntu 16.04
SUMMARY
int variables change to strings during manipulations
STEPS TO REPRODUCE
EXPECTED RESULTS
3rd task should return int 2, while 4th task should most likely fail
ACTUAL RESULTS
3rd task failed
The text was updated successfully, but these errors were encountered: