mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-04 09:43:15 +00:00
BUGFIX: misnamed function name breaks check mode
This commit is contained in:
committed by
Matt Clay
parent
86bea2d6ab
commit
185761bfcb
@@ -165,9 +165,9 @@ def main():
|
||||
try:
|
||||
if module.check_mode:
|
||||
if state == "absent":
|
||||
changed = not db_exists(cursor, ext)
|
||||
changed = not ext_exists(cursor, ext)
|
||||
elif state == "present":
|
||||
changed = db_exists(cursor, ext)
|
||||
changed = ext_exists(cursor, ext)
|
||||
module.exit_json(changed=changed,ext=ext)
|
||||
|
||||
if state == "absent":
|
||||
|
||||
Reference in New Issue
Block a user