mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-05 00:31:37 -07:00
Terraform: Allow lock flag to get set to false (#53873)
This change allows a false value to propagate appropriately to the terraform cli.
This commit is contained in:
parent
6852186235
commit
e8972ce459
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ def main():
|
||||||
if module.params.get('lock'):
|
if module.params.get('lock'):
|
||||||
command.append('-lock=true')
|
command.append('-lock=true')
|
||||||
else:
|
else:
|
||||||
command.append('-lock=true')
|
command.append('-lock=false')
|
||||||
if module.params.get('lock_timeout') is not None:
|
if module.params.get('lock_timeout') is not None:
|
||||||
command.append('-lock-timeout=%ds' % module.params.get('lock_timeout'))
|
command.append('-lock-timeout=%ds' % module.params.get('lock_timeout'))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue