summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-mimas.yml
diff options
context:
space:
mode:
Diffstat (limited to 'inventory/host_vars/ch-mimas.yml')
-rw-r--r--inventory/host_vars/ch-mimas.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-mimas.yml b/inventory/host_vars/ch-mimas.yml
index 79246de5..9a89fe7c 100644
--- a/inventory/host_vars/ch-mimas.yml
+++ b/inventory/host_vars/ch-mimas.yml
@@ -29,3 +29,5 @@ network:
mask: "{{ hostvars[vm_host].vm_host.network.bridges.public.prefix | ipaddr('netmask') }}"
gateway: "{{ hostvars[vm_host].vm_host.network.bridges.public.prefix | ipaddr('address') }}"
overlay: "{{ (hostvars[vm_host].vm_host.network.bridges.public.overlay.prefix | ipaddr(hostvars[vm_host].vm_host.network.bridges.public.overlay.offsets[inventory_hostname])).split('/')[0] }}"
+
+external_ip: "{{ network.primary.overlay }}"