mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
fix: check execute_lock boolean, not lock string var (#45329)
This commit is contained in:
@@ -349,7 +349,7 @@ def main():
|
||||
result['changed'] = True
|
||||
module.exit_json(**result)
|
||||
|
||||
if lock:
|
||||
if execute_lock:
|
||||
conn.lock(target=target)
|
||||
locked = True
|
||||
if before is None:
|
||||
|
||||
Reference in New Issue
Block a user