mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Reformat everything.
This commit is contained in:
@@ -184,9 +184,7 @@ def add_or_update_pritunl_user(module):
|
||||
)
|
||||
|
||||
if len(org_obj_list) == 0:
|
||||
module.fail_json(
|
||||
msg=f"Can not add user to organization '{org_name}' which does not exist"
|
||||
)
|
||||
module.fail_json(msg=f"Can not add user to organization '{org_name}' which does not exist")
|
||||
|
||||
org_id = org_obj_list[0]["id"]
|
||||
|
||||
@@ -274,9 +272,7 @@ def remove_pritunl_user(module):
|
||||
)
|
||||
|
||||
if len(org_obj_list) == 0:
|
||||
module.fail_json(
|
||||
msg=f"Can not remove user '{user_name}' from a non existing organization '{org_name}'"
|
||||
)
|
||||
module.fail_json(msg=f"Can not remove user '{user_name}' from a non existing organization '{org_name}'")
|
||||
|
||||
org_id = org_obj_list[0]["id"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user