1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-05-01 16:08:53 +00:00

Reformat everything.

This commit is contained in:
Felix Fontein 2025-11-01 12:08:41 +01:00
parent 3f2213791a
commit 340ff8586d
1008 changed files with 61301 additions and 58309 deletions

View file

@ -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"]