fix ipv6 addr resolution issue, now I'm resolving it myself, dammit

This commit is contained in:
2024-11-25 13:13:21 +01:00
parent b58865cf88
commit 09e2be2ab7
5 changed files with 9 additions and 4 deletions

View File

@@ -6,3 +6,7 @@
- name: determine ipv6 net
shell: ifconfig {{ netif.primary }} inet6 | awk '{ if (/2a01/) { sub(/::.$/, "::", $2); print $2"/64" }}'
register: jailnet
- name: determine primary ipv6 address
shell: ifconfig {{ netif.primary }} inet6 | awk '{ if (/2a01/) { print $2 }}'
register: primaryip