ipadm_prop - Manage protocol properties on Solaris/illumos systems.¶
New in version 2.2.
Parameters¶
Parameter | Choices/Defaults | Comments |
---|---|---|
property
required |
Specifies the name of property we want to manage.
|
|
protocol
required |
Specifies the procotol for which we want to manage properties.
|
|
state |
|
Set or reset the property value.
|
temporary
bool |
|
Specifies that the property value is temporary. Temporary property values do not persist across reboots.
|
value |
Specifies the value we want to set for the property.
|
Examples¶
# Set TCP receive buffer size
- ipadm_prop: protocol=tcp property=recv_buf value=65536
# Reset UDP send buffer size to the default value
- ipadm_prop: protocol=udp property=send_buf state=reset
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
property
string
|
always |
name of the property
Sample:
recv_maxbuf
|
protocol
string
|
always |
property's protocol
Sample:
TCP
|
state
string
|
always |
state of the target
Sample:
present
|
temporary
boolean
|
always |
property's persistence
Sample:
True
|
value
int
|
always |
value of the property. May be int or string depending on property.
Sample:
'1024' or 'never'
|
Status¶
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
Maintenance¶
This module is flagged as community which means that it is maintained by the Ansible Community. See Module Maintenance & Support for more info.
For a list of other modules that are also maintained by the Ansible Community, see here.
Author¶
- Adam Števko (@xen0l)
Hint
If you notice any issues in this documentation you can edit this document to improve it.