Change ordering of networks in file

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:22 -04:00
parent 146e660a21
commit 15768130e2
1 changed files with 10 additions and 10 deletions

View File

@ -16,6 +16,11 @@ pvc:
- {{ node.hostname }}
{% endfor %}
networks:
upstream:
domain: {{ pvc_upstream_domain }}
network: {{ pvc_upstream_subnet }}/{{ pvc_upstream_netmask }}
floating_ip: {{ pvc_upstream_floatingip }}/{{ pvc_upstream_netmask }}
gateway: {{ pvc_upstream_gatewayip }}
cluster:
domain: {{ pvc_cluster_domain }}
network: {{ pvc_cluster_subnet }}/{{ pvc_cluster_netmask }}
@ -24,11 +29,6 @@ pvc:
domain: {{ pvc_storage_domain }}
network: {{ pvc_storage_subnet }}/{{ pvc_storage_netmask }}
floating_ip: {{ pvc_storage_floatingip }}/{{ pvc_storage_netmask }}
upstream:
domain: {{ pvc_upstream_domain }}
network: {{ pvc_upstream_subnet }}/{{ pvc_upstream_netmask }}
floating_ip: {{ pvc_upstream_floatingip }}/{{ pvc_upstream_netmask }}
gateway: {{ pvc_upstream_gatewayip }}
coordinator:
dns:
database:
@ -77,6 +77,11 @@ pvc:
log_keepalive_storage_details: {{ pvc_log_keepalive_storage_details }}
console_log_lines: {{ pvc_log_console_lines }}
networking:
upstream:
device: {{ pvc_upstream_device }}
mtu: {{ pvc_upstream_mtu }}
address: {% for node in pvc_nodes if node.hostname == ansible_hostname %}{{ node.upstream_ip }}/{{ pvc_upstream_netmask }}{% endfor %}
cluster:
device: {{ pvc_cluster_device }}
mtu: {{ pvc_cluster_mtu }}
@ -87,8 +92,3 @@ pvc:
mtu: {{ pvc_storage_mtu }}
address: {% for node in pvc_nodes if node.hostname == ansible_hostname %}{{ node.storage_ip }}/{{ pvc_storage_netmask }}{% endfor %}
upstream:
device: {{ pvc_upstream_device }}
mtu: {{ pvc_upstream_mtu }}
address: {% for node in pvc_nodes if node.hostname == ansible_hostname %}{{ node.upstream_ip }}/{{ pvc_upstream_netmask }}{% endfor %}