From 081fca7ca361f269f453f3fd99f7545c562b2bc7 Mon Sep 17 00:00:00 2001 From: Chris Hines <chris.hines@monash.edu> Date: Thu, 28 Oct 2021 11:08:21 +1100 Subject: [PATCH] typo --- 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