inspur.ispim.edit_network_link – Set network link.¶
Note
This plugin is part of the inspur.ispim collection.
To install it use: ansible-galaxy collection install inspur.ispim
.
To use it in a playbook, specify: inspur.ispim.edit_network_link
.
New in version 1.0.0: of inspur.ispim
Parameters¶
Examples¶
- name: link test
hosts: ism
connection: local
gather_facts: no
vars:
ism:
host: "{{ ansible_ssh_host }}"
username: "{{ username }}"
password: "{{ password }}"
tasks:
- name: "Set network link"
inspur.ispim.edit_network_link:
interface: "dedicated"
auto_nego: "enable"
provider: "{{ ism }}"
- name: "Set network link"
inspur.ispim.edit_network_link:
interface: "dedicated"
auto_nego: "disable"
link_speed: 100
duplex_mode: "FULL"
provider: "{{ ism }}"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
WangBaoshan (@ispim)