From dd2e7cf9113349b9515a27a076f2e45a8a34684e Mon Sep 17 00:00:00 2001 From: binary Date: Fri, 15 Jan 2021 15:48:06 +0100 Subject: Add redis, mainly for srht role --- roles/redis/tasks/main.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 roles/redis/tasks/main.yml 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 + -- cgit v1.2.3