ansible / ansible.builtin / v2.9.27 / module / ipadm_if Manage IP interfaces on Solaris/illumos systems. | "added in version" 2.2 of ansible.builtin" Authors: Adam Števko (@xen0l) preview | supported by communityansible.builtin.ipadm_if (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
Create, delete, enable or disable IP interfaces on Solaris/illumos systems.
# Create vnic0 interface - ipadm_if: name: vnic0 state: enabled
# Disable vnic0 interface - ipadm_if: name: vnic0 state: disabled
name: description: - IP interface name. required: true state: choices: - present - absent - enabled - disabled default: present description: - Create or delete Solaris/illumos IP interfaces. required: false temporary: default: false description: - Specifies that the IP interface is temporary. Temporary IP interfaces do not persist across reboots. required: false type: bool
name: description: IP interface name returned: always sample: vnic0 type: str state: description: state of the target returned: always sample: present type: str temporary: description: persistence of a IP interface returned: always sample: 'True' type: bool