summaryrefslogtreecommitdiffstats
path: root/packer/provision/redis.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'packer/provision/redis.yaml')
-rw-r--r--packer/provision/redis.yaml10
1 files changed, 5 insertions, 5 deletions
diff --git a/packer/provision/redis.yaml b/packer/provision/redis.yaml
index b97437bdd..698665f3f 100644
--- a/packer/provision/redis.yaml
+++ b/packer/provision/redis.yaml
@@ -6,19 +6,19 @@
become_method: sudo
tasks:
- - name: 'Install Redis'
+ - name: "Install Redis"
package:
name: redis
state: present
become: true
- - name: 'Enable service redis'
+ - name: "Enable service redis"
service:
name: redis
- enabled: yes
+ enabled: true
become: true
- - name: 'Start service redis'
+ - name: "Start service redis"
service:
name: redis
state: started
@@ -29,6 +29,6 @@
name:
- epel-release
- python36
- update_cache: yes
+ update_cache: true
state: latest
become: true