community.network.ipadm_prop (5.0.2) — module

Manage protocol properties on Solaris/illumos systems.

Authors: Adam Števko (@xen0l)

Install collection

Install with ansible-galaxy collection install community.network:==5.0.2


Add to requirements.yml

  collections:
    - name: community.network
      version: 5.0.2

Description

Modify protocol properties on Solaris/illumos systems.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set TCP receive buffer size
  community.network.ipadm_prop:
    protocol: tcp
    property: recv_buf
    value: 65536
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Reset UDP send buffer size to the default value
  community.network.ipadm_prop:
    protocol: udp
    property: send_buf
    state: reset

Inputs

    
state:
    choices:
    - present
    - absent
    - reset
    default: present
    description:
    - Set or reset the property value.
    required: false

value:
    description:
    - Specifies the value we want to set for the property.
    required: false

property:
    description:
    - Specifies the name of property we want to manage.
    required: true

protocol:
    description:
    - Specifies the protocol for which we want to manage properties.
    required: true

temporary:
    default: false
    description:
    - Specifies that the property value is temporary. Temporary property values do not
      persist across reboots.
    required: false
    type: bool

Outputs

property:
  description: name of the property
  returned: always
  sample: recv_maxbuf
  type: str
protocol:
  description: property's protocol
  returned: always
  sample: TCP
  type: str
state:
  description: state of the target
  returned: always
  sample: present
  type: str
temporary:
  description: property's persistence
  returned: always
  sample: 'True'
  type: bool
value:
  description: value of the property. May be int or string depending on property.
  returned: always
  sample: '''1024'' or ''never'''
  type: int