mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00: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:
committed by
Abhijeet Kasurde
parent
6852186235
commit
e8972ce459
@@ -337,7 +337,7 @@ def main():
|
||||
if module.params.get('lock'):
|
||||
command.append('-lock=true')
|
||||
else:
|
||||
command.append('-lock=true')
|
||||
command.append('-lock=false')
|
||||
if module.params.get('lock_timeout') is not None:
|
||||
command.append('-lock-timeout=%ds' % module.params.get('lock_timeout'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user