Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.47 KB

ip_assign.md

File metadata and controls

44 lines (29 loc) · 1.47 KB

ip_assign

Assign IPs to Linodes in a given Region.

The following restrictions apply:

  • All Linodes involved must have at least one public IPv4 address after assignment.

  • Linodes may have no more than one assigned private IPv4 address.

  • Linodes may have no more than one assigned IPv6 range.

  • Examples

  • Parameters

  • Return Values

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