community / community.general / 0.1.1 / module / dladm_etherstub Manage etherstubs on Solaris/illumos systems. Authors: Adam Števko (@xen0l) preview | supported by communitycommunity.general.dladm_etherstub (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
Create or delete etherstubs on Solaris/illumos systems.
# Create 'stub0' etherstub - dladm_etherstub: name: stub0 state: present
# Remove 'stub0 etherstub - dladm_etherstub: name: stub0 state: absent
name: description: - Etherstub name. required: true state: choices: - present - absent default: present description: - Create or delete Solaris/illumos etherstub. required: false temporary: default: false description: - Specifies that the etherstub is temporary. Temporary etherstubs do not persist across reboots. required: false type: bool
name: description: etherstub name returned: always sample: switch0 type: str state: description: state of the target returned: always sample: present type: str temporary: description: etherstub's persistence returned: always sample: 'True' type: bool