On 2/25/20 4:27 PM, jean-christophe manciot wrote:
>
> {{ var }} is already a yaml object: it is the list of dictionaries.
Good .. so there is no point to using shell + sed here, right?
Loop over the list of dictionaries and manipulate it with "set_fact".
Maybe you can give an example how a dictionary looks before and after the
conversion?
Regards
Racke
>
> --
> 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]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/0e5d0f81-815d-4e8f-bf44-f5750aae08aa%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/0e5d0f81-815d-4e8f-bf44-f5750aae08aa%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.
--
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/f59bd143-ff5e-d842-f96e-1f0db7ed7dc6%40linuxia.de.
signature.asc
Description: OpenPGP digital signature
