aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2021-01-15 15:48:06 +0100
committerbinary <me@rgoncalves.se>2021-01-15 15:48:06 +0100
commitdd2e7cf9113349b9515a27a076f2e45a8a34684e (patch)
tree908cab902809974393515dcc511d572168293518
parent2bfc94bc6c58b99ae37c46ecac4e047f6ef835c3 (diff)
downloadinfrastructure-dd2e7cf9113349b9515a27a076f2e45a8a34684e.tar.gz
Add redis, mainly for srht role
-rw-r--r--roles/redis/tasks/main.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/redis/tasks/main.yml b/roles/redis/tasks/main.yml
new file mode 100644
index 0000000..cb2387c
--- /dev/null
+++ b/roles/redis/tasks/main.yml
@@ -0,0 +1,15 @@
+
+# redis ~~ roles/redis/tasks/main.yml
+# Redis database cache
+
+---
+
+- name: ensure redis is installed
+ package: name=redis state=present
+
+- name: start and enable redis service
+ service:
+ name: redis
+ state: restarted
+ enabled: true
+
remember that computers suck.