summaryrefslogtreecommitdiff
path: root/6/bgp.py
diff options
context:
space:
mode:
Diffstat (limited to '6/bgp.py')
-rwxr-xr-x6/bgp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/6/bgp.py b/6/bgp.py
index 995a0c8..2bd756a 100755
--- a/6/bgp.py
+++ b/6/bgp.py
@@ -7,8 +7,8 @@ import os
def to_ansible(kind, hosts):
for host, o in hosts.items():
print(f"host={host}")
- os.makedirs(f"group_vars/{host}", exist_ok=True)
- with open(f"group_vars/{host}/{kind}.yaml", "w") as f:
+ os.makedirs(f"host_vars/{host}", exist_ok=True)
+ with open(f"host_vars/{host}/{kind}.yaml", "w") as f:
f.write(yaml.dump(o))
with PrologMQI() as mqi: