mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 11:10:21 -07:00
Fix tabs/spaces.
This commit is contained in:
parent
621eb5eccc
commit
3bf088c084
1 changed files with 3 additions and 3 deletions
|
@ -419,7 +419,7 @@ def main():
|
||||||
|
|
||||||
if user_exists(cursor, user):
|
if user_exists(cursor, user):
|
||||||
if module.check_mode:
|
if module.check_mode:
|
||||||
kw['changed'] = True
|
kw['changed'] = True
|
||||||
module.exit_json(**kw)
|
module.exit_json(**kw)
|
||||||
|
|
||||||
changed = user_alter(cursor, user, password, role_attr_flags)
|
changed = user_alter(cursor, user, password, role_attr_flags)
|
||||||
|
@ -429,7 +429,7 @@ def main():
|
||||||
module.fail_json(msg=msg)
|
module.fail_json(msg=msg)
|
||||||
|
|
||||||
if module.check_mode:
|
if module.check_mode:
|
||||||
kw['changed'] = True
|
kw['changed'] = True
|
||||||
module.exit_json(**kw)
|
module.exit_json(**kw)
|
||||||
|
|
||||||
changed = user_add(cursor, user, password, role_attr_flags)
|
changed = user_add(cursor, user, password, role_attr_flags)
|
||||||
|
@ -438,7 +438,7 @@ def main():
|
||||||
|
|
||||||
if user_exists(cursor, user):
|
if user_exists(cursor, user):
|
||||||
if module.check_mode:
|
if module.check_mode:
|
||||||
kw['changed'] = True
|
kw['changed'] = True
|
||||||
kw['user_removed'] = True
|
kw['user_removed'] = True
|
||||||
module.exit_json(**kw)
|
module.exit_json(**kw)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue