From 78b0358b4ee61b9f936588077eddd4ea0e50fa99 Mon Sep 17 00:00:00 2001 From: Chris Hines <chris.hines@monash.edu> Date: Thu, 14 Oct 2021 13:39:16 +1100 Subject: [PATCH] oops --- CICD/make_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CICD/make_files.py b/CICD/make_files.py index ba68fa85..b038b46f 100644 --- a/CICD/make_files.py +++ b/CICD/make_files.py @@ -138,7 +138,7 @@ def make_nhc_config(inventory): import jinja2 with open('pre_templates/nhc.conf.j2') as f: template = jinja2.Template(f.read()) - with open('files/nhc.conf') as f: + with open('files/nhc.conf','w') as f: f.write(template.render()) def make_known_hosts(inventory): -- GitLab