updated ansible templates for single node clusters
This commit is contained in:
@@ -21,11 +21,13 @@ hosts:
|
||||
ipv4:
|
||||
enabled: true
|
||||
dhcp: true
|
||||
{% if hostvars[host].boot_mac_address != hostvars[host].install_mac_address %}
|
||||
- name: {{ hostvars[host].boot_interface }}
|
||||
type: ethernet
|
||||
state: down
|
||||
identifier: mac-address
|
||||
mac-address: {{ hostvars[host].boot_mac_address }}
|
||||
{% endif %}
|
||||
dns-resolver:
|
||||
config:
|
||||
server:
|
||||
|
||||
@@ -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 }}'
|
||||
|
||||
Reference in New Issue
Block a user