Added variables to destroy command (#37028)
This commit is contained in:
parent
1bc860fafd
commit
51558f12f4
1 changed files with 2 additions and 0 deletions
|
@ -257,6 +257,8 @@ def main():
|
||||||
if state == 'absent':
|
if state == 'absent':
|
||||||
# deleting cannot use a statefile
|
# deleting cannot use a statefile
|
||||||
needs_application = True
|
needs_application = True
|
||||||
|
# add variables settings to destroy command
|
||||||
|
command.extend(variables_args)
|
||||||
elif plan_file and os.path.exists(plan_file):
|
elif plan_file and os.path.exists(plan_file):
|
||||||
command.append(plan_file)
|
command.append(plan_file)
|
||||||
elif plan_file and not os.path.exists(plan_file):
|
elif plan_file and not os.path.exists(plan_file):
|
||||||
|
|
Loading…
Reference in a new issue