Get info about a Linode Placement Group.
WARNING! This module makes use of beta endpoints and requires the C(api_version) field be explicitly set to C(v4beta).
Field | Type | Required | Description |
---|---|---|---|
api_token |
str |
Required | The Linode account personal access token. It is necessary to run the module. It can be exposed by the environment variable LINODE_API_TOKEN instead. See details in Usage. |
- name: Get info about a Linode placement group
linode.cloud.placement_group_info:
api_version: v4beta
id: 123
Field | Type | Required | Description |
---|---|---|---|
id |
int |
Required | The ID of the Placement Group to resolve. |
-
placement_group
- The returned Placement Group.- Sample Response:
{ "id": 123, "label": "test", "region": "eu-west", "placement_group_type": "anti_affinity:local", "placement_group_policy": "strict", "is_compliant": true, "members": [ { "linode_id": 123, "is_compliant": true } ] }
- See the Linode API response documentation for a list of returned fields
- Sample Response: