It may be string with int comparison, if ansible user specifies identifier as int
This commit is contained in:
parent
6e37f1dcef
commit
3193961cf5
1 changed files with 1 additions and 1 deletions
|
@ -389,7 +389,7 @@ def main():
|
|||
decoded_name = rset.name.replace(r'\052', '*')
|
||||
decoded_name = decoded_name.replace(r'\100', '@')
|
||||
|
||||
if rset.type == type_in and decoded_name.lower() == record_in.lower() and rset.identifier == identifier_in:
|
||||
if rset.type == type_in and decoded_name.lower() == record_in.lower() and rset.identifier == str(identifier_in):
|
||||
found_record = True
|
||||
record['zone'] = zone_in
|
||||
record['type'] = rset.type
|
||||
|
|
Loading…
Add table
Reference in a new issue