mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-12 20:00:58 +00:00
(cherry picked from commit dc66aefa40)
Co-authored-by: Alex Groshev <38885591+haddystuff@users.noreply.github.com>
This commit is contained in:
@@ -2135,7 +2135,8 @@ class Nmcli(object):
|
||||
elif all([key == self.mtu_setting, self.type == 'dummy', current_value is None, value == 'auto', self.mtu is None]):
|
||||
value = None
|
||||
else:
|
||||
if current_value != to_text(value):
|
||||
value = to_text(value)
|
||||
if current_value != value:
|
||||
changed = True
|
||||
|
||||
diff_before[key] = current_value
|
||||
|
||||
Reference in New Issue
Block a user