community.windows.win_net_adapter_feature – Enable or disable certain network adapters.
This plugin is part of the community.windows collection (version 1.9.0).
You might already have this collection installed if you are using the
It is not included in
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:
New in version 1.2.0: of community.windows
Enable or disable some network components of a certain network adapter or all the network adapters.
- 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