Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
fix playbook rmove copy of vars
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinholz committed Jul 4, 2022
1 parent 8dd09d3 commit a6a83de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions VirtualMachineService/ancon/Playbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ def load_vars():
playbook_name_local = playbook_name + "-" + self.cloud_site
original_playbook_var_yml=f"{self.playbooks_dir}/{playbook_name}/{playbook_name}_vars_file.yml"
playbook_var_yml = f"/{playbook_name}_vars_file.yml"
LOG.info("Remove copy of vars file")
os.remove(self.directory.name + playbook_var_yml)

try:
with open(original_playbook_var_yml, mode="r") as original_vars_yml:
Expand Down

0 comments on commit a6a83de

Please sign in to comment.