mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-30 23:48:54 +00:00
remove unnecessary brackets in conditions (#10328)
* remove unnecessary brackets in conditions * add changelog frag
This commit is contained in:
parent
5a5b2d2eed
commit
682a89cdf5
32 changed files with 88 additions and 56 deletions
|
|
@ -261,7 +261,7 @@ def ensure(module, client):
|
|||
nonposix=module.params['nonposix'])
|
||||
ipa_group = client.group_find(name=name)
|
||||
|
||||
if (not (external or external_user is None)):
|
||||
if not (external or external_user is None):
|
||||
module.fail_json("external_user can only be set if external = True")
|
||||
|
||||
changed = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue