diff options
author | binary <me@rgoncalves.se> | 2021-01-15 15:48:06 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-01-15 15:48:06 +0100 |
commit | dd2e7cf9113349b9515a27a076f2e45a8a34684e (patch) | |
tree | 908cab902809974393515dcc511d572168293518 /roles | |
parent | 2bfc94bc6c58b99ae37c46ecac4e047f6ef835c3 (diff) | |
download | infrastructure-dd2e7cf9113349b9515a27a076f2e45a8a34684e.tar.gz |
Add redis, mainly for srht role
Diffstat (limited to 'roles')
-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 + |