aboutsummaryrefslogtreecommitdiffstats
path: root/roles/loki
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-07-29 17:00:20 +0200
committerRomain Gonçalves <me@rgoncalves.se>2021-07-29 17:00:20 +0200
commitb232b894c3cbe087c8d504e91637dcf62199eed1 (patch)
treeea72a7d1a7f63c6425ee46785e1cec924351b2c3 /roles/loki
parent22126073344e60c405d086df37b64da0c6d3c086 (diff)
downloadinfrastructure-b232b894c3cbe087c8d504e91637dcf62199eed1.tar.gz
Bump to third revision of homelab
Diffstat (limited to 'roles/loki')
-rw-r--r--roles/loki/tasks/main.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/loki/tasks/main.yml b/roles/loki/tasks/main.yml
new file mode 100644
index 0000000..456cd83
--- /dev/null
+++ b/roles/loki/tasks/main.yml
@@ -0,0 +1,10 @@
+- name: ensure loki is installed
+ package:
+ name: loki
+ state: present
+
+- name: ensure loki service is enabled and restarted
+ service:
+ name: loki
+ state: restarted
+ enabled: true
remember that computers suck.