mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 19:01:26 -07:00
parent
ffb9b6ff96
commit
13e9e4b196
143 changed files with 346 additions and 348 deletions
|
@ -40,7 +40,7 @@ attributes:
|
|||
options:
|
||||
auth_token:
|
||||
description:
|
||||
- Packet API token. You can also supply it in env var C(PACKET_API_TOKEN).
|
||||
- Packet API token. You can also supply it in environment variable E(PACKET_API_TOKEN).
|
||||
type: str
|
||||
|
||||
hostname:
|
||||
|
@ -77,9 +77,9 @@ options:
|
|||
state:
|
||||
description:
|
||||
- Desired state of the IP subnet on the specified device.
|
||||
- With state == C(present), you must specify either hostname or device_id. Subnet with given CIDR will then be assigned to the specified device.
|
||||
- With state == C(absent), you can specify either hostname or device_id. The subnet will be removed from specified devices.
|
||||
- If you leave both hostname and device_id empty, the subnet will be removed from any device it's assigned to.
|
||||
- With O(state=present), you must specify either O(hostname) or O(device_id). Subnet with given CIDR will then be assigned to the specified device.
|
||||
- With O(state=absent), you can specify either O(hostname) or O(device_id). The subnet will be removed from specified devices.
|
||||
- If you leave both O(hostname) and O(device_id) empty, the subnet will be removed from any device it's assigned to.
|
||||
choices: ['present', 'absent']
|
||||
default: 'present'
|
||||
type: str
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue