fix(node_labels): ensure correct indentation for label list
!9 nofusscomputing/infrastructure/configuration-management/project-production!4
This commit is contained in:
@ -48,9 +48,9 @@ kubelet-arg:
|
|||||||
and
|
and
|
||||||
kubernetes_config.hosts[inventory_hostname].labels | default([]) | list | length > 0
|
kubernetes_config.hosts[inventory_hostname].labels | default([]) | list | length > 0
|
||||||
-%}
|
-%}
|
||||||
node-label:
|
node-label: {%- for node_label in kubernetes_config.hosts[inventory_hostname].labels | dict2items +%}
|
||||||
{% for node_label in kubernetes_config.hosts[inventory_hostname].labels | dict2items %}
|
|
||||||
- {{ node_label.key }}={{ node_label.value }}
|
- {{ node_label.key }}={{ node_label.value }}
|
||||||
|
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user