diff --git a/roles/redis_server/meta/main.yml b/roles/redis_server/meta/main.yml new file mode 100644 index 0000000..8b7ca04 --- /dev/null +++ b/roles/redis_server/meta/main.yml @@ -0,0 +1,4 @@ +--- + +dependencies: + - role: repo_redis diff --git a/roles/repo_redis/tasks/main.yml b/roles/repo_redis/tasks/main.yml new file mode 100644 index 0000000..ad8807a --- /dev/null +++ b/roles/repo_redis/tasks/main.yml @@ -0,0 +1,12 @@ +--- + +- name: Configure Remi repo for redis + yum_repository: + name: redis + file: redis + description: Remi repo for Redis server + baseurl: http://rpms.remirepo.net/enterprise/7/remi/$basearch/ + gpgcheck: True + gpgkey: http://rpms.remirepo.net/RPM-GPG-KEY-remi + includepkgs: redis* + tags: repo