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