mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 20:31:27 -07:00
parent
f84b5b6059
commit
e648a00312
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ class Host(object):
|
||||||
flag = False
|
flag = False
|
||||||
interface_str = interface
|
interface_str = interface
|
||||||
for exist_interface in exist_interface_list:
|
for exist_interface in exist_interface_list:
|
||||||
interface_type = interface['type']
|
interface_type = int(interface['type'])
|
||||||
exist_interface_type = int(exist_interface['type'])
|
exist_interface_type = int(exist_interface['type'])
|
||||||
if interface_type == exist_interface_type:
|
if interface_type == exist_interface_type:
|
||||||
# update
|
# update
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue