community / community.general / 0.1.1 / module / dladm_linkprop Manage link properties on Solaris/illumos systems. Authors: Adam Števko (@xen0l) preview | supported by communitycommunity.general.dladm_linkprop (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
Set / reset link properties on Solaris/illumos systems.
- name: Set 'maxbw' to 100M on e1000g1 dladm_linkprop: name=e1000g1 property=maxbw value=100M state=present
- name: Set 'mtu' to 9000 on e1000g1 dladm_linkprop: name=e1000g1 property=mtu value=9000
- name: Reset 'mtu' property on e1000g1 dladm_linkprop: name=e1000g1 property=mtu state=reset
link: aliases: - nic - interface description: - Link interface name. required: true 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 link property. required: false property: aliases: - name description: - Specifies the name of the property we want to manage. required: true temporary: default: false description: - Specifies that lin property configuration is temporary. Temporary link property configuration does not persist across reboots. required: false type: bool
link: description: link name returned: always sample: e100g0 type: str property: description: property name returned: always sample: mtu 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: always sample: 9000 type: str