Generate multine line YAML with Ansible jinja filter to_yaml

前端 未结 0 1720
隐瞒了意图╮
隐瞒了意图╮ 2021-01-15 20:00

Using Ansible, to_yaml jinja filter, i want to generate the following YAML encoded string:

data: |
   hello: world
   bonjour: monde
相关标签:
回答
  • 消灭零回复
提交回复
热议问题