ansible / ansible.builtin / v2.9.27 / module / ipadm_addrprop Manage IP address properties on Solaris/illumos systems. | "added in version" 2.3 of ansible.builtin" Authors: Adam Števko (@xen0l) preview | supported by communityansible.builtin.ipadm_addrprop (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
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