community / community.general / 0.1.1 / module / ipadm_addrprop Manage IP address properties on Solaris/illumos systems. Authors: Adam Števko (@xen0l) preview | supported by communitycommunity.general.ipadm_addrprop (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
Modify IP address properties on Solaris/illumos systems.
- name: Mark address on addrobj as deprecated ipadm_addrprop: property=deprecated value=on addrobj=e1000g0/v6
- name: Set network prefix length for addrobj ipadm_addrprop: addrobj=bge0/v4 name=prefixlen value=26
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 address property. required: false addrobj: aliases: - nic - interface description: - Specifies the address object we want to manage. required: true property: aliases: - name description: - Specifies the name of the address property we want to manage. required: true temporary: default: false description: - Specifies that the address property value is temporary. Temporary values do not persist across reboots. required: false type: bool
addrobj: description: address object name returned: always sample: bge0/v4 type: str property: description: property name returned: always sample: deprecated type: str state: description: state of the target returned: always sample: present type: str temporary: description: specifies if operation will persist across reboots returned: always sample: true type: bool value: description: property value returned: when value is provided sample: 26 type: str