1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
# {{ ansible_managed }} {{ item.path }} { {% if item.options is defined -%} {% for option in item.options -%} {{ option }} {% endfor -%} {% endif %} {%- if item.scripts is defined -%} {%- for name, script in item.scripts.iteritems() -%} {{ name }} {{ script }} endscript {% endfor -%} {% endif -%} }