On 09.05.2019 00:46, Nicholas Britton wrote:
> So if the multivalue is driven from user input or an input file and will
> vary in what regions are to be used, how can that be dynamic?

If you look in the documentation you'll see that you can use json in body by 
setting body_format.

File:
  body: "{{ lookup('file', '/path/to/json/file.json' }}"

Variable
  body: "{{ myvar.json }}"


-- 
Kai Stian Olstad

-- 
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/f3cf40de-9253-edba-e0f7-d168844161c6%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to