W3cubDocs

/Ansible

ipadm_prop - Manage protocol properties on Solaris/illumos systems.

New in version 2.2.

Synopsis

Modify protocol properties on Solaris/illumos systems.

Options

parameter required default choices comments
property
yes
Specifies the name of property we want to manage.
protocol
yes
Specifies the procotol for which we want to manage properties.
state
no present
  • present
  • absent
  • reset
Set or reset the property value.
temporary
no
  • true
  • false
Specifies that the property value is temporary. Temporary property values do not persist across reboots.
value
no
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 Common Return Values, the following are the fields unique to this module:

name description returned type sample
protocol property's protocol always string TCP
state state of the target always string present
property name of the property always string recv_maxbuf
temporary property's persistence always boolean True
value value of the property always int/string (depends on property) 1024/never

This is an Extras Module

For more information on what this means please read Extras Modules

For help in developing on modules, should you be so inclined, please read Community Information & Contributing, developing_test_pr and Developing Modules.

© 2012–2016 Michael DeHaan
© 2016 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/ipadm_prop_module.html