Thanks for the insight.
Turns out the problem is in one of Ansible's modules, not the formatting of
the lookup result.
On Monday, October 15, 2018 at 10:10:36 AM UTC-6, Kai Stian Olstad wrote:
>
> On Saturday, 13 October 2018 18.37.22 CEST Dmitriy Panteleyev wrote:
> > I've been banging my he
On Saturday, 13 October 2018 18.37.22 CEST Dmitriy Panteleyev wrote:
> I've been banging my head against this for two days. Maybe I'm missing
> something. When fetching a YAML file or template with lookup function, all
> the newlines are not preserved, but converted to '\n'.
They are not conve
I've been banging my head against this for two days. Maybe I'm missing
something. When fetching a YAML file or template with lookup function, all
the newlines are not preserved, but converted to '\n'. This does not
happen for other file types (like json). Is this the expected behavior?
Is