Open growse opened 2 months ago
Describe the bug The step "Facts | Get IPv4 address" fails when run on a machine attached to a v6-only tailnet.
To Reproduce Steps to reproduce the behavior:
disableIPv4: true
Expected behavior Role completes successfully
Screenshots
TASK [artis3n.tailscale : Facts | Get IPv4 address] ************************************************************************************************************************************************************************************************************************************** fatal: [guffnet-ch-01]: FAILED! => {"changed": false, "cmd": ["tailscale", "ip", "--4"], "delta": "0:00:00.021313", "end": "2024-09-03 14:37:21.667542", "msg": "non-zero return code", "rc": 1, "start": "2024-09-03 14:37:21.646229", "stderr": "no Tailscale IPv4 address", "stderr_lines": ["no Tailscale IPv4 address"], "stdout": "", "stdout_lines": []}
Target (please complete the following information):
artis3n.tailscale
verbose
Output of tailscale status during role execution (set verbose to true):
tailscale status
$ sudo tailscale status --peers=false fd7a:115c:a1e0::c001:4f01 guffnet-ch-01 userid:15d52116014f28 linux -
Additional context This worked in 4.4.2!
Thanks - we'll need to set the IPv4 and IPv6 facts to have an empty default to prevent task failures
Describe the bug The step "Facts | Get IPv4 address" fails when run on a machine attached to a v6-only tailnet.
To Reproduce Steps to reproduce the behavior:
disableIPv4: true
in the tailnet acl.Expected behavior Role completes successfully
Screenshots
Target (please complete the following information):
artis3n.tailscale
version: 4.5.0verbose
to true): 1.72.1Output of
tailscale status
during role execution (setverbose
to true):Additional context This worked in 4.4.2!