Change ordering of networks in file

This commit is contained in:
Joshua Boniface 2019-12-25 13:31:02 -05:00
parent a30edbfa54
commit af606ac49c
1 changed files with 10 additions and 10 deletions

View File

@ -16,6 +16,11 @@ pvc:
- {{ node.hostname }} - {{ node.hostname }}
{% endfor %} {% endfor %}
networks: 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: cluster:
domain: {{ pvc_cluster_domain }} domain: {{ pvc_cluster_domain }}
network: {{ pvc_cluster_subnet }}/{{ pvc_cluster_netmask }} network: {{ pvc_cluster_subnet }}/{{ pvc_cluster_netmask }}
@ -24,11 +29,6 @@ pvc:
domain: {{ pvc_storage_domain }} domain: {{ pvc_storage_domain }}
network: {{ pvc_storage_subnet }}/{{ pvc_storage_netmask }} network: {{ pvc_storage_subnet }}/{{ pvc_storage_netmask }}
floating_ip: {{ pvc_storage_floatingip }}/{{ 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: coordinator:
dns: dns:
database: database:
@ -77,6 +77,11 @@ pvc:
log_keepalive_storage_details: {{ pvc_log_keepalive_storage_details }} log_keepalive_storage_details: {{ pvc_log_keepalive_storage_details }}
console_log_lines: {{ pvc_log_console_lines }} console_log_lines: {{ pvc_log_console_lines }}
networking: 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: cluster:
device: {{ pvc_cluster_device }} device: {{ pvc_cluster_device }}
mtu: {{ pvc_cluster_mtu }} mtu: {{ pvc_cluster_mtu }}
@ -87,8 +92,3 @@ pvc:
mtu: {{ pvc_storage_mtu }} mtu: {{ pvc_storage_mtu }}
address: {% for node in pvc_nodes if node.hostname == ansible_hostname %}{{ node.storage_ip }}/{{ pvc_storage_netmask }}{% endfor %} 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 %}