Note
This plugin is part of the community.windows collection (version 1.7.0).
You might already have this collection installed if you are using the ansible
package. It is not included in ansible-core
. To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install community.windows
.
To use it in a playbook, specify: community.windows.win_net_adapter_feature
.
New in version 1.2.0: of community.windows
Parameter | Choices/Defaults | Comments |
---|---|---|
component_id list / elements=string / required | Specify the below component_id of network adapters. component_id (DisplayName) ms_implat (Microsoft Network Adapter Multiplexor Protocol)ms_lltdio (Link-Layer Topology Discovery Mapper I/O Driver)ms_tcpip6 (Internet Protocol Version 6 (TCP/IPv6))ms_tcpip (Internet Protocol Version 4 (TCP/IPv4))ms_lldp (Microsoft LLDP Protocol Driver)ms_rspndr (Link-Layer Topology Discovery Responder)ms_msclient (Client for Microsoft Networks)ms_pacer (QoS Packet Scheduler)If you'd like to set custom adapters like 'Juniper Network Service', get the component_id by running the Get-NetAdapterBinding cmdlet. | |
interface list / elements=string / required | Name of Network Adapter Interface. For example, Ethernet0 or * . | |
state string |
| Specify the state of ms_tcpip6 of interfaces. |
- name: enable multiple interfaces of multiple interfaces community.windows.win_net_adapter_feature: interface: - 'Ethernet0' - 'Ethernet1' state: enabled component_id: - ms_tcpip6 - ms_server - name: Enable ms_tcpip6 of all the Interface community.windows.win_net_adapter_feature: interface: '*' state: enabled component_id: - ms_tcpip6
© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/community/windows/win_net_adapter_feature_module.html