mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
[PR #6744/13e9e4b1 backport][stable-7] Add more semantic markup (#6747)
Add more semantic markup (#6744)
Add more semantic markup.
(cherry picked from commit 13e9e4b196)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user