Add an unconfigured redis role to start with.
This commit is contained in:
parent
84657d18d5
commit
45e0621bc6
1 changed files with 9 additions and 0 deletions
9
roles/redis/tasks/main.yml
Normal file
9
roles/redis/tasks/main.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
- name: install needed packages
|
||||
yum: pkg={{ item }} state=present
|
||||
with_items:
|
||||
- redis
|
||||
tags: redis
|
||||
|
||||
- name: start redis
|
||||
service: name=redis state=started enabled=yes
|
||||
tags: redis
|
Loading…
Add table
Add a link
Reference in a new issue