fix: check execute_lock boolean, not lock string var (#45329)
This commit is contained in:
parent
1771874ac8
commit
5e67981dd2
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue