Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 2.27 KB

ip.md

File metadata and controls

38 lines (28 loc) · 2.27 KB

ip

Allocates a new IPv4 Address on your Account. The Linode must be configured to support additional addresses - please Open a support ticket requesting additional addresses before attempting allocation.

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: Allocate IP to Linode
  linode.cloud.ip:
    linode_id: 123
    public: true
    type: ipv4
    state: present

Parameters

Field Type Required Description
state str Required The state of this IP. (Choices: present, absent)
linode_id int Optional The ID of a Linode you have access to that this address will be allocated to.
public bool Optional Whether to create a public or private IPv4 address.
type str Optional The type of address you are requesting. Only IPv4 addresses may be allocated through this operation. (Choices: ipv4)
address str Optional The IP address to delete. (Conflicts With: linode_id,public,type)

Return Values