add example

This commit is contained in:
Robert Kaussow 2019-10-08 13:24:11 +02:00
parent 5cf3f2e686
commit fa32b88858

View File

@ -1,6 +1,12 @@
{% set var = role.var | default({}) %} {% set var = role.var | default({}) %}
{% if var %} {% if var %}
## Default Variables ## Default Variables
{% for key, item in var.items() %}
```
{{key}}: {{ value }}
```
{% endif %}
{% for key, item in var.items() %} {% for key, item in var.items() %}
### {{ key }} ### {{ key }}