diff options
-rw-r--r-- | roles/redis/tasks/main.yml | 15 |
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 + |