Browse Source

new example

master
Nicolas Massé 7 years ago
parent
commit
18e2b5e311
  1. 17
      jinja-multiline-variable.yaml

17
jinja-multiline-variable.yaml

@ -0,0 +1,17 @@
---
- name: Jinja multiline variables
gather_facts: no
hosts: localhost
vars:
output: >-
{{
input
}}
input: test
tasks:
- debug:
var: output
- assert:
that:
- output == 'test'
Loading…
Cancel
Save