diff --git a/lib/ansible/modules/cloud/openstack/os_ironic.py b/lib/ansible/modules/cloud/openstack/os_ironic.py index 299bebebac9..a80a8ce2551 100644 --- a/lib/ansible/modules/cloud/openstack/os_ironic.py +++ b/lib/ansible/modules/cloud/openstack/os_ironic.py @@ -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