"{{lookup('file', 'yaml.yml') |to_json }}"
On Tue, Nov 12, 2019 at 9:12 AM Rahul Kumar <[email protected]> wrote:
> So I can convert whole .yaml file( Which contains all REST data) to .json
> file (which will contain json data).
> Can you give snippet of code for yaml file to json file conversion
--
----------
Brian Coca
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CACVha7cNSPhDN1mAkhHiT0NgjrRFjV_jLpdV1gFCrvEbTuva%3Dg%40mail.gmail.com.