summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--subplot/subplot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/subplot/subplot.py b/subplot/subplot.py
index 1570d27..596e8dd 100644
--- a/subplot/subplot.py
+++ b/subplot/subplot.py
@@ -97,7 +97,7 @@ def run_playbook(ctx):
if not os.path.exists("vars.yml"):
with open("vars.yml", "w") as f:
- yaml.safe_dump([], stream=f)
+ yaml.safe_dump({}, stream=f)
playbook = [ctx["playbook"]]
assert_ne(playbook, None)