mirror of https://dev.ccchb.de/ccchb/ansible.git
parent
e882a4760b
commit
ae3074789a
|
@ -10,13 +10,13 @@
|
|||
- name: Set host IPv4 addresses
|
||||
sysrc:
|
||||
name: 'ifconfig_vmnet{{ item.index }}'
|
||||
value: 'inet {{ bhyve_ipv4 | ipmath(2 * item.index)}}/31'
|
||||
value: 'inet {{ bhyve_ipv4 | ansible.utils.ipmath(2 * item.index)}}/31'
|
||||
with_items: '{{ bhyve_guests }}'
|
||||
|
||||
- name: Set host IPv6 addresses
|
||||
sysrc:
|
||||
name: 'ifconfig_vmnet{{ item.index }}_ipv6'
|
||||
value: 'inet6 {{ bhyve_ipv6 | ipmath(2 * item.index)}}/127'
|
||||
value: 'inet6 {{ bhyve_ipv6 | ansible.utils.ipmath(2 * item.index)}}/127'
|
||||
with_items: '{{ bhyve_guests }}'
|
||||
|
||||
- name: Add guest interfaces
|
||||
|
|
Loading…
Reference in New Issue