mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 05:40:23 -07: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:
parent
c11c3506cd
commit
f20938788a
3 changed files with 49 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue