roles/redis: Add role to deploy Redis

This simple role installs the *redis* package and starts the associated
service.  It leaves the configuration as provided by upstream, at least
for now.
jenkins-master
Dustin 2021-06-25 11:10:10 -05:00
parent b86e0d8f29
commit 05a414100a
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
- name: ensure redis is installed
package:
name: redis
state: present
tags:
- install
- name: ensure redis starts at boot
service:
name: redis
enabled: true
- name: ensure redis is running
service:
name: redis
state: started