I'm hitting this error:

We could be wrong, but this one looks like it might be an issue with
missing quotes.  Always quote template expression brackets when they
start a value. For instance:

    with_items:
      - {{ foo }}

Should be written as:

    with_items:
      - "{{ foo }}"


The problem is that I'm converting the YAML to JSON, and I need the value 
(a number) to be unquoted in the JSON.

Is there any way I can avoid this error without quoting, or is there some 
way to remove the quotes when it's converted to JSON?

-- 
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/87877629-bbac-448f-a47e-a04ba4ecffd4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to