community / community.general / 0.1.1 / module / ipadm_if Manage IP interfaces on Solaris/illumos systems. Authors: Adam Števko (@xen0l) preview | supported by communitycommunity.general.ipadm_if (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
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