I just got hit with https://github.com/ansible/ansible/issues/9362, where
in the following 'instances' is a string when the role uses to_json to pass
the data to marathon:
vars:
vi_instances: "{{instances | default(2)}}"
roles:
- role: marathon_app
marathon_app:
id: /svc/auth
cpus: 0.5
mem: 64.0
instances: "{{vi_instances | int}}"
Does anybody know a workaround to this?
--
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/e9aaf88d-5f4e-4094-9c8d-359f2c814e50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.