mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Added variables to destroy command (#37028)
This commit is contained in:
committed by
Ryan Brown
parent
1bc860fafd
commit
51558f12f4
@@ -257,6 +257,8 @@ def main():
|
||||
if state == 'absent':
|
||||
# deleting cannot use a statefile
|
||||
needs_application = True
|
||||
# add variables settings to destroy command
|
||||
command.extend(variables_args)
|
||||
elif plan_file and os.path.exists(plan_file):
|
||||
command.append(plan_file)
|
||||
elif plan_file and not os.path.exists(plan_file):
|
||||
|
||||
Reference in New Issue
Block a user