summaryrefslogtreecommitdiff
path: root/roles/vm/guest/network/tasks/OpenBSD.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-09-05 23:56:28 +0200
committerChristian Pointner <equinox@spreadspace.org>2022-09-05 23:56:28 +0200
commit0d20c36e23f2435edd3f4f362ae64963ca6bfb6a (patch)
tree12859d4d39220b117fdf3ddc7a5b5d4c3edc086f /roles/vm/guest/network/tasks/OpenBSD.yml
parentubuntu/installer: add support for desktop installs (diff)
replace some ipaddr() filter calls to new location (still a lot left todo...)
Diffstat (limited to 'roles/vm/guest/network/tasks/OpenBSD.yml')
-rw-r--r--roles/vm/guest/network/tasks/OpenBSD.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/vm/guest/network/tasks/OpenBSD.yml b/roles/vm/guest/network/tasks/OpenBSD.yml
index ac31af55..d97b183b 100644
--- a/roles/vm/guest/network/tasks/OpenBSD.yml
+++ b/roles/vm/guest/network/tasks/OpenBSD.yml
@@ -7,7 +7,7 @@
copy:
dest: "/etc/hostname.{{ interface.name }}"
content: |
- inet {{ interface.address | ipaddr('address') }} {{ interface.address | ipaddr('netmask') }}
+ inet {{ interface.address | ansible.utils.ipaddr('address') }} {{ interface.address | ansible.utils.ipaddr('netmask') }}
{% for route in interface.static_routes | default([]) %}
!route add -net {{ route.destination }} {{ route.gateway }}
{% endfor %}