Note
This plugin is part of the community.network collection.
To install it use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.ipadm_prop
.
Parameter | Choices/Defaults | Comments |
---|---|---|
property string / required | Specifies the name of property we want to manage. | |
protocol string / required | Specifies the protocol for which we want to manage properties. | |
state string |
| Set or reset the property value. |
temporary boolean |
| Specifies that the property value is temporary. Temporary property values do not persist across reboots. |
value string | Specifies the value we want to set for the property. |
- name: Set TCP receive buffer size community.network.ipadm_prop: protocol: tcp property: recv_buf value: 65536 - name: Reset UDP send buffer size to the default value community.network.ipadm_prop: protocol: udp property: send_buf state: reset
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 integer | always | value of the property. May be int or string depending on property. Sample: '1024' or 'never' |
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/community/network/ipadm_prop_module.html