From 1944f49506fea379032b26e08b25947ded9fa65d Mon Sep 17 00:00:00 2001 From: Charles Treatman Date: Mon, 21 Oct 2024 11:28:50 -0500 Subject: [PATCH] feat: expose service tokens for Metal connections (#247) This updates the API response mapper for Metal connections so that Ansible collection users can access `service_tokens` for a Metal connection without having to go to the [Equinix Metal console](https://console.equinix.com). --- plugins/module_utils/metal/metal_api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/module_utils/metal/metal_api.py b/plugins/module_utils/metal/metal_api.py index 34cf56e..9661bec 100644 --- a/plugins/module_utils/metal/metal_api.py +++ b/plugins/module_utils/metal/metal_api.py @@ -281,6 +281,7 @@ def get_assignment_address(resource: dict): 'ports': 'ports', 'requested_by': 'requested_by', 'status': 'status', + 'service_tokens': optional('service_tokens') } def private_ipv4_subnet_size(resource: dict):