mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
fixed nxos_aaa_server_host issue with type 7 encrypt key (#46015)
* fixed nxos_aaa_server_host issue with type 7 encrypt and added test cases * added idempotence tests
This commit is contained in:
@@ -309,6 +309,8 @@ def main():
|
||||
delta = proposed
|
||||
else:
|
||||
for key, value in proposed.items():
|
||||
if key == 'encrypt_type':
|
||||
delta[key] = value
|
||||
if value != existing.get(key):
|
||||
if value != 'default' or existing.get(key):
|
||||
delta[key] = value
|
||||
|
||||
Reference in New Issue
Block a user