diff --git a/changelogs/fragments/4387-nmcli-edit-vlan.yml b/changelogs/fragments/4387-nmcli-edit-vlan.yml new file mode 100644 index 00000000000..b3a5532c538 --- /dev/null +++ b/changelogs/fragments/4387-nmcli-edit-vlan.yml @@ -0,0 +1,4 @@ +--- +minor_changes: + - nmcli - allow editing mtu on interfaces of type vlan + (https://github.com/ansible-collections/community.general/issues/4387). diff --git a/plugins/modules/net_tools/nmcli.py b/plugins/modules/net_tools/nmcli.py index 0a2f113cdae..1b8af6cb996 100644 --- a/plugins/modules/net_tools/nmcli.py +++ b/plugins/modules/net_tools/nmcli.py @@ -1555,6 +1555,7 @@ def mtu_conn_type(self): 'dummy', 'ethernet', 'team-slave', + 'vlan', ) @property