community / community.network / 2.3.0 / module / ipadm_if Manage IP interfaces on Solaris/illumos systems. Authors: Adam Števko (@xen0l)community.network.ipadm_if (2.3.0) — module
Install with ansible-galaxy collection install community.network:==2.3.0
collections: - name: community.network version: 2.3.0
Create, delete, enable or disable IP interfaces on Solaris/illumos systems.
- name: Create vnic0 interface community.network.ipadm_if: name: vnic0 state: enabled
- name: Disable vnic0 interface community.network.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