fix: Use new collection fcqn for ipaddr filter
This commit is contained in:
parent
f333dfc165
commit
454c79549a
2 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ traefik_ipv6:
|
||||||
# (see https://web.archive.org/web/20181113104036/https://docs.docker.com/v17.06/engine/userguide/networking/default_network/ipv6/#docker-ipv6-cluster)
|
# (see https://web.archive.org/web/20181113104036/https://docs.docker.com/v17.06/engine/userguide/networking/default_network/ipv6/#docker-ipv6-cluster)
|
||||||
subnet: "{{ ansible_default_ipv6.address | ipsubnet(64) | ipsubnet(80, 51966) }}"
|
subnet: "{{ ansible_default_ipv6.address | ipsubnet(64) | ipsubnet(80, 51966) }}"
|
||||||
# The traefik container will use this static address, unless you explicitly use `{{ omit }}`
|
# The traefik container will use this static address, unless you explicitly use `{{ omit }}`
|
||||||
ip_addr: "{{ ansible_default_ipv6.address | ipsubnet(64) | ipsubnet(80, 51966) | ipaddr('2') | ipaddr('address') }}"
|
ip_addr: "{{ ansible_default_ipv6.address | ipsubnet(64) | ipsubnet(80, 51966) | ansible.utils.ipaddr('2') | ansible.utils.ipaddr('address') }}"
|
||||||
# The name of the special ipv6 network which will be created and added to the traefik container
|
# The name of the special ipv6 network which will be created and added to the traefik container
|
||||||
name: traefik_ipv6
|
name: traefik_ipv6
|
||||||
|
|
||||||
|
|
|
@ -143,7 +143,7 @@ services:
|
||||||
{% if traefik_ipv6.enabled %}
|
{% if traefik_ipv6.enabled %}
|
||||||
{{ traefik_ipv6.name }}:
|
{{ traefik_ipv6.name }}:
|
||||||
{% if traefik_ipv6.ip_addr != omit %}
|
{% if traefik_ipv6.ip_addr != omit %}
|
||||||
ipv6_address: {{ traefik_ipv6.ip_addr | ipaddr('address') }}
|
ipv6_address: {{ traefik_ipv6.ip_addr | ansible.utils.ipaddr('address') }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue