Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 2.34 KB

ip_assign.md

File metadata and controls

50 lines (34 loc) · 2.34 KB

ip_assign

Assign IPs to Linodes in a given Region.

The following restrictions apply:

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 IP to Linode
  linode.cloud.ip_assign:
    region: us-east
    assignments:
     - address: 0.0.0.0
       linode_id: 123

Parameters

Field Type Required Description
assignments (sub-options) list Required List of assignments to make. (Updatable)
region str Required The Region to operate in.

assignments

Field Type Required Description
address str Required The IPv4 address or IPv6 range.
linode_id int Required ID of the Linode.

Return Values