feat(ansible): Add addon support (#836)

This commit is contained in:
Devin Buhl authored and GitHub committed 2023-07-06 14:21:32 -04:00
1 parent 8af4377aa3
commit 34527bd3e2
41 files changed
+502 -118

No files matched your search

+3 -3
View File
@@ -4,15 +4,15 @@ kubernetes:
children:
master:
hosts:
{% for item in bootstrap_hosts.master %}
{% for item in bootstrap_nodes.master %}
{{ item.name }}:
ansible_user: {{ item.username }}
ansible_host: {{ item.address }}
{% endfor %}
{% if bootstrap_hosts.worker | default([]) | length > 0 %}
{% if bootstrap_nodes.worker | default([]) | length > 0 %}
worker:
hosts:
{% for item in bootstrap_hosts.worker %}
{% for item in bootstrap_nodes.worker %}
{{ item.name }}:
ansible_user: {{ item.username }}
ansible_host: {{ item.address }}