mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
fix bad linebreak
This commit is contained in:
@@ -185,8 +185,7 @@ def _choose_id_value(module):
|
||||
|
||||
def _choose_if_password_only(module, patch):
|
||||
if len(patch) is 1:
|
||||
if 'password' in patch[0]['path'] and
|
||||
module.params['skip_update_of_masked_password']:
|
||||
if 'password' in patch[0]['path'] and module.params['skip_update_of_masked_password']:
|
||||
# Return false to aabort update as the password appears
|
||||
# to be the only element in the patch.
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user