aboutsummaryrefslogtreecommitdiffstats
path: root/roles/redis/tasks
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2024-02-13 23:09:37 +0100
committerRomain Gonçalves <me@rgoncalves.se>2024-02-13 23:16:09 +0100
commit2a53a9778d87e6f525c6cf4f23052f1f3d35911e (patch)
treedb738594af66a3008f79d010ec975e07d3fb73dc /roles/redis/tasks
parent479efa19547bf710e0113b08bc6165b66d1b7980 (diff)
downloadrules-2a53a9778d87e6f525c6cf4f23052f1f3d35911e.tar.gz
feat(roles/redis): add redis role
Diffstat (limited to 'roles/redis/tasks')
-rw-r--r--roles/redis/tasks/main.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/redis/tasks/main.yml b/roles/redis/tasks/main.yml
new file mode 100644
index 0000000..da4bdec
--- /dev/null
+++ b/roles/redis/tasks/main.yml
@@ -0,0 +1,12 @@
+---
+
+- name: install redis
+ ansible.builtin.package:
+ name: redis
+ state: present
+
+- name: enable and start redis
+ ansible.builtin.service:
+ name: redis
+ state: started
+ enabled: true
remember that computers suck.