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

Commit

Permalink
Merge pull request #1079 from deNBI/feat/jupyter
Browse files Browse the repository at this point in the history
Feat/jupyter
  • Loading branch information
dweinholz authored May 12, 2022
2 parents 3e2cefb + 3a7ead4 commit ec5ccf9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion VirtualMachineService/ancon/Playbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@


class Playbook(object):

ACTIVE = "ACTIVE"
PLAYBOOK_FAILED = "PLAYBOOK_FAILED"

Expand All @@ -57,6 +56,9 @@ def __init__(
None # init process, returncode, standard output, standard error output
)
self.returncode = -1
self.playbooks_information = playbooks_information
LOG.exception(self.playbooks_information)

self.stdout = ""
self.stderr = ""
# init temporary directories and mandatory generic files
Expand Down Expand Up @@ -145,10 +147,14 @@ def load_vars():
data[playbook_name + "_tools"][k] = p_dict
if playbook_name in self.loaded_metadata_keys:
for k, v in playbook_vars.items():
LOG.info(playbook_vars)
if k == "template_version":
data[playbook_name + "_vars"][k] = v
if k == "create_only_backend":
data[playbook_name + "_vars"][k] = v
if k == "base_url":
data[playbook_name + "_vars"][k] = v

if playbook_name == OPTIONAL:
for k, v in playbook_vars.items():
if k == MOSH:
Expand Down

0 comments on commit ec5ccf9

Please sign in to comment.