ansible / ansible.utils / 4.0.0 / filter / slaac This filter returns the SLAAC address within a network for a given HW/MAC address. | "added in version" 2.5.0 of ansible.utils" Authors: Ashwini Mhatre (@amhatre)ansible.utils.slaac (4.0.0) — filter
Install with ansible-galaxy collection install ansible.utils:==4.0.0
collections: - name: ansible.utils version: 4.0.0
This filter returns the SLAAC address within a network for a given HW/MAC address.
The filter slaac() generates an IPv6 address for a given network and a MAC Address in Stateless Configuration.
#### examples - name: The filter slaac() generates an IPv6 address for a given network and a MAC Address in Stateless Configuration. debug: msg: "{{ 'fdcf:1894:23b5:d38c:0000:0000:0000:0000' | slaac('c2:31:b3:83:bf:2b') }}"
query: description: nth host type: str value: description: The network address or range to test against. required: true type: str
data: description: - Returns the SLAAC address within a network for a given HW/MAC address. type: str