forked from saratov/infra
14 lines
257 B
Django/Jinja
14 lines
257 B
Django/Jinja
---
|
|
{% for s in stack.apps %}
|
|
- name: executing step{{loop.index-1}}
|
|
hosts: step{{loop.index-1}}
|
|
strategy: free
|
|
gather_facts: True
|
|
roles:
|
|
- {role: prepare-config}
|
|
- {role: apps}
|
|
vars:
|
|
- step: {{loop.index-1}}
|
|
tags: [ "apps" ]
|
|
|
|
{% endfor %} |