aboutsummaryrefslogtreecommitdiffstats
path: root/roles/loki/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/loki/tasks')
-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.