aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--roles/journald/defaults/main.yml1
-rw-r--r--roles/journald/tasks/main.yml2
2 files changed, 2 insertions, 1 deletions
diff --git a/roles/journald/defaults/main.yml b/roles/journald/defaults/main.yml
new file mode 100644
index 0000000..28c8d5f
--- /dev/null
+++ b/roles/journald/defaults/main.yml
@@ -0,0 +1 @@
+journald_log_level: warning
diff --git a/roles/journald/tasks/main.yml b/roles/journald/tasks/main.yml
index 12c1152..8602829 100644
--- a/roles/journald/tasks/main.yml
+++ b/roles/journald/tasks/main.yml
@@ -6,7 +6,7 @@
dest: /etc/systemd/journald.conf
section: Journal
option: MaxLevelStore
- value: warning
+ value: '{{ journald_log_level }}'
register: edited
- name: Restart systemd-journald