diff --git a/lib/ansible/plugins/filter/network.py b/lib/ansible/plugins/filter/network.py index 1517320715..07d6ecbd9d 100644 --- a/lib/ansible/plugins/filter/network.py +++ b/lib/ansible/plugins/filter/network.py @@ -388,11 +388,11 @@ def hash_salt(password): return split_password[2] -def comp_type5(unencrypted_password, encrypted_password, return_orginal=False): +def comp_type5(unencrypted_password, encrypted_password, return_original=False): salt = hash_salt(encrypted_password) if type5_pw(unencrypted_password, salt) == encrypted_password: - if return_orginal is True: + if return_original is True: return encrypted_password else: return True