From b9c8c0a9b024ca8142d29779e30e6186e60025bc Mon Sep 17 00:00:00 2001 From: staticsafe Date: Sun, 26 Nov 2017 17:37:15 -0500 Subject: [PATCH] Add mastodon-redis role --- roles/mastodon-redis/tasks/main.yml | 8 ++++++++ site.yml | 1 + 2 files changed, 9 insertions(+) create mode 100644 roles/mastodon-redis/tasks/main.yml diff --git a/roles/mastodon-redis/tasks/main.yml b/roles/mastodon-redis/tasks/main.yml new file mode 100644 index 0000000..9d47fcd --- /dev/null +++ b/roles/mastodon-redis/tasks/main.yml @@ -0,0 +1,8 @@ +--- +# This playbook installs Redis for Mastodon's user + +- name: Install redis + apt: name={{ item }} state=latest update_cache=yes + with_items: + - redis + - redis-server diff --git a/site.yml b/site.yml index 35cc788..b8b0973 100644 --- a/site.yml +++ b/site.yml @@ -6,3 +6,4 @@ - ruby - mastodon-app - mastodon-postgresql + - mastodon-redis