diff options
author | Christian Pointner <equinox@spreadspace.org> | 2019-07-05 19:50:27 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2019-07-05 19:50:27 +0200 |
commit | 79d662045cba5c0c424f884e6de2ba11d90c530d (patch) | |
tree | fe9aa57cc78d56ca1e3e8f923cce447092a56d9d /inventory/host_vars/emc-master.yml | |
parent | major cleanup of chaos-at-home hosts (diff) |
bugfixes and cleanup of vm/install
Diffstat (limited to 'inventory/host_vars/emc-master.yml')
-rw-r--r-- | inventory/host_vars/emc-master.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inventory/host_vars/emc-master.yml b/inventory/host_vars/emc-master.yml index d590908e..04ba1d84 100644 --- a/inventory/host_vars/emc-master.yml +++ b/inventory/host_vars/emc-master.yml @@ -24,7 +24,7 @@ network: interfaces: "{{ install.interfaces }}" primary: interface: primary0 - ip: "{{ (hostvars[vm_host].vm_host.network.ip+'/'+hostvars[vm_host].vm_host.network.mask) | ipaddr(hostvars[vm_host].vm_host.network.indices[inventory_hostname]) | ipaddr('address') }}" + ip: "{{ (hostvars[vm_host].vm_host.network.ip+'/'+hostvars[vm_host].vm_host.network.mask) | ipaddr(hostvars[vm_host].vm_host.network.offsets[inventory_hostname]) | ipaddr('address') }}" mask: "{{ hostvars[vm_host].vm_host.network.mask }}" gateway: "{{ hostvars[vm_host].vm_host.network.gateway | default(hostvars[vm_host].vm_host.network.ip) }}" |