Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 2.11 KB

placement_group_assign.md

File metadata and controls

46 lines (33 loc) · 2.11 KB

placement_group_assign

Manages a single assignment between a Linode and a Placement Group.

NOTE: Placement Groups may not currently be available to all users.

Minimum Required Fields

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.

Examples

- name: Assign a Linode to a placement group
  linode.cloud.placement_group_assign:
    placement_group_id: 123
    linode_id: 111
    state: present
- name: Unassign a Linode from a placement group
  linode.cloud.placement_group_assign:
    placement_group_id: 123
    linode_id: 111
    state: absent

Parameters

Field Type Required Description
placement_group_id int Required The ID of the Placement Group for this assignment.
linode_id int Required The Linode ID to assign or unassign to the Placement Group.
state str Required The desired state of the target. (Choices: present, absent)

Return Values