aboutsummaryrefslogtreecommitdiffstats
path: root/roles/loki
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-12-12 22:15:01 +0100
committerRomain Gonçalves <me@rgoncalves.se>2022-12-12 22:15:01 +0100
commitdb698b595e7ff088c96d00ef5285a0d634aff1be (patch)
tree4ec4242098a774e0de7ae1a4637b45b949e4ecce /roles/loki
parentee3e324680a15d59429b1a2a0615fe787d169068 (diff)
downloadrules-db698b595e7ff088c96d00ef5285a0d634aff1be.tar.gz
refactor: pass ansible-lint with yaml header
Diffstat (limited to 'roles/loki')
-rw-r--r--roles/loki/defaults/main.yml2
-rw-r--r--roles/loki/tasks/main.yml2
2 files changed, 4 insertions, 0 deletions
diff --git a/roles/loki/defaults/main.yml b/roles/loki/defaults/main.yml
index 6808f54..21d7a77 100644
--- a/roles/loki/defaults/main.yml
+++ b/roles/loki/defaults/main.yml
@@ -1,3 +1,5 @@
+---
+
loki_configuration_file: /etc/loki/loki-config.yaml
loki_promtail_configuration_file: /etc/promtail/promtail-config.yaml
loki_user: _loki
diff --git a/roles/loki/tasks/main.yml b/roles/loki/tasks/main.yml
index 7315f18..1995f12 100644
--- a/roles/loki/tasks/main.yml
+++ b/roles/loki/tasks/main.yml
@@ -1,3 +1,5 @@
+---
+
- name: install loki
ansible.builtin.package:
name: loki
remember that computers suck.