El lunes, 6 de marzo de 2023 a la(s) 16:08:22 UTC-3, Matt Martz escribió:
A few things here:
1) Your gist of that file, and what you indicate in your email are
different, specifically the `if env in ["dev", "stg]` part
Sorry about this.
2) As a result of #1 the YAML renders incorrectly, c
A few things here:
1) Your gist of that file, and what you indicate in your email are
different, specifically the `if env in ["dev", "stg]` part
2) As a result of #1 the YAML renders incorrectly, causing that error
Here is the result of the template when `env: dev` is set:
---
Version: 2012-10-1
Hi Ansible community.,
I'd like to share a problem I'm having while trying lo load a yaml
formatted template and perhaps getting feedback from you on how to make it
work.
I wrote the following playbook:
https://gist.github.com/gaccardo/2c12fc4aab443978fe33829129237cbc
If the content of "polic