updated ansible templates for single node clusters

This commit is contained in:
2025-07-30 21:59:01 -05:00
parent 48b8548528
commit 05fa4eaa43
9 changed files with 340 additions and 21 deletions

View File

@@ -20,9 +20,14 @@ networking:
serviceNetwork:
- {{ hostvars[groups[cluster_group][0]].service_network }}
platform:
{% if hostvars[groups[cluster_group][0]].platform_type == 'none' %}
{{ hostvars[groups['hub_cluster'][0]].platform_type }}: {}
{% endif %}
{% if hostvars[groups[cluster_group][0]].platform_type == 'baremetal' %}
{{ hostvars[groups[cluster_group][0]].platform_type }}:
apiVIP: {{ hostvars[groups[cluster_group][0]].api_address }}
ingressVIP: {{ hostvars[groups[cluster_group][0]].app_address }}
{% endif %}
fips: false
pullSecret: '{{ vault_pull_secret }}'
sshKey: '{{ vault_ssh_key }}'