From 3f3d266adf6cb5d8ba682c8e7fe52448da62d351 Mon Sep 17 00:00:00 2001 From: Kekskurse Date: Mon, 30 Dec 2019 22:04:17 +0100 Subject: [PATCH] Network disabled --- tasks/main.yml | 5 +++++ templates/config.ini.j2 | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 templates/config.ini.j2 diff --git a/tasks/main.yml b/tasks/main.yml index 74f1d7a..b9d40ee 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -45,6 +45,11 @@ dest: /etc/systemd/system/monitoringpy.service become: true +- template: + src: config.ini.j2 + dest: /opt/monitoring.py/config.ini + become: true + - systemd: state: restarted enabled: yes diff --git a/templates/config.ini.j2 b/templates/config.ini.j2 new file mode 100644 index 0000000..ecc16c3 --- /dev/null +++ b/templates/config.ini.j2 @@ -0,0 +1,2 @@ +[Checks] +Network = False