tripleo-common/tripleo_common/templates/host_var_server.j2
Takashi Kajinami f19f451f88 Add host_vars to define tasks executed before network configurations
This change is a prep work to ensure tasks defined in ExtraConfigPre
and NodeExtraConfig are executed after network configurations.

Related-Bug: #1907214
Change-Id: I0e45090f8db1c1737e69ce906a12027bfe5c3ef0
2021-01-26 19:44:16 +09:00

23 lines
581 B
Django/Jinja

pre_network_{{ role }}: {% if not pre_network %} [] {% endif %}
{% for deployment in pre_network %}
- {{ deployment }}
{% endfor %}
pre_deployments_{{ role }}: {% if not pre_deployments %} [] {% endif %}
{% for deployment in pre_deployments %}
- {{ deployment }}
{% endfor %}
post_deployments_{{ role }}: {% if not post_deployments %} [] {% endif %}
{% for deployment in post_deployments %}
- {{ deployment }}
{% endfor %}
{% if ansible_host_vars %}
# ansible_host_vars managed by TripleO Heat Templates in puppet/role.role.j2.yaml:
{{ ansible_host_vars }}
{% endif %}