Fix variable name and call pattern.

parent 6786c1ef
......@@ -91,7 +91,7 @@ def gen_ansible_cfg(filename, config, project_root, playbooks_path,
yield os.path.join(project_root, "debops", "ansible", type)
if monorepo_path:
yield os.path.join(monorepo_path,
"ansible", "playbooks", "playbooks", type)
"ansible", "playbooks", "playbooks", type)
yield os.path.join(monorepo_path, "ansible", "playbooks", type)
yield os.path.join(monorepo_path, "ansible", "plugins", type)
yield os.path.join(monorepo_path, "ansible", type)
......@@ -201,7 +201,7 @@ def main(cmd_args):
maybe_play + ".yml",
project_root,
monorepo_path,
DEBOPS_PY_PATH,
DEBOPS_PY_PACKAGE,
playbooks_path)
if play:
cmd_args.pop(0)
......@@ -211,6 +211,7 @@ def main(cmd_args):
"site.yml",
project_root,
monorepo_path,
DEBOPS_PY_PACKAGE,
playbooks_path)
inventory_path = find_inventorypath(project_root)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment