Handle Netbox devices in primary ip assignment #18

Open
opened 2026-06-29 19:04:17 +00:00 by exu · 0 comments
Owner

The current task assumes only virtual machines

TASK [xpn.base.yggdrasil : Set primary IPv6] **********************************************************************************************************************************
[ERROR]: Task failed: Module failed: {"cluster":["A virtual machine must be assigned to a site and/or cluster."]}
Origin: /home/exu/.local/share/ansible/collections/ansible_collections/xpn/base/roles/yggdrasil/tasks/main.yml:44:7

42           - "network"
43
44     - name: Set primary IPv6
         ^ column 7

fatal: [handler-one -> localhost]: FAILED! => {"changed": false, "msg": "{\"cluster\":[\"A virtual machine must be assigned to a site and/or cluster.\"]}"}
ok: [he1dns01 -> localhost]
The current task assumes only virtual machines ``` TASK [xpn.base.yggdrasil : Set primary IPv6] ********************************************************************************************************************************** [ERROR]: Task failed: Module failed: {"cluster":["A virtual machine must be assigned to a site and/or cluster."]} Origin: /home/exu/.local/share/ansible/collections/ansible_collections/xpn/base/roles/yggdrasil/tasks/main.yml:44:7 42 - "network" 43 44 - name: Set primary IPv6 ^ column 7 fatal: [handler-one -> localhost]: FAILED! => {"changed": false, "msg": "{\"cluster\":[\"A virtual machine must be assigned to a site and/or cluster.\"]}"} ok: [he1dns01 -> localhost] ```
exu self-assigned this 2026-06-29 19:04:17 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
exu/xpn-collections#18
No description provided.