servers/roles/redis/tasks/main.yml

10 lines
143 B
YAML

- name: Install redis
package:
name: redis
- name: Enable redis service
service:
name: redis
enabled: true
state: started