diff options
author | Nick <nick.p.doyle@gmail.com> | 2018-10-10 13:46:00 +1100 |
---|---|---|
committer | Peter Sprygada <privateip@users.noreply.github.com> | 2018-10-09 22:46:00 -0400 |
commit | 5e67981dd2d8c909841088e00bb2fd95be2324d0 (patch) | |
tree | d9be59e8fe768e9ee416c3eef0fc322477541cbd /lib/ansible | |
parent | 1771874ac86795da86f175d776410b835f10a139 (diff) | |
download | ansible-5e67981dd2d8c909841088e00bb2fd95be2324d0.tar.gz |
fix: check execute_lock boolean, not lock string var (#45329)
Diffstat (limited to 'lib/ansible')
-rw-r--r-- | lib/ansible/modules/network/netconf/netconf_config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/modules/network/netconf/netconf_config.py b/lib/ansible/modules/network/netconf/netconf_config.py index f4c97b5194..472ced5a78 100644 --- a/lib/ansible/modules/network/netconf/netconf_config.py +++ b/lib/ansible/modules/network/netconf/netconf_config.py @@ -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: |