mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-21 09:51:27 -07:00
(cherry picked from commit dc66aefa40
)
Co-authored-by: Alex Groshev <38885591+haddystuff@users.noreply.github.com>
This commit is contained in:
parent
4926f15d86
commit
21423ca6a0
3 changed files with 186 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue