summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2018-07-24 20:43:54 -0700
committerJessica Wagantall <jwagantall@linuxfoundation.org>2018-07-25 04:19:08 +0000
commita7906983275c0d56b2b7458889f258d9c06b0b26 (patch)
treeb1c4338e74740e73cd4cfe26230a3ff8d4cdd80e
parentd5ba5468d7548f0afecca70c4112c39c4e65bcfd (diff)
Start redis service
Enable redis and then start redis Change-Id: I632972b589fd6e1dd20e2e0a19e0ab2660276756 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
-rw-r--r--packer/provision/redis.yaml8
1 files changed, 7 insertions, 1 deletions
diff --git a/packer/provision/redis.yaml b/packer/provision/redis.yaml
index 2f9499687..495566c11 100644
--- a/packer/provision/redis.yaml
+++ b/packer/provision/redis.yaml
@@ -15,5 +15,11 @@
- name: 'Enable service redis'
service:
name: redis
- state: enable
+ enabled: yes
become: true
+
+ - name: 'Start service redis'
+ service:
+ name: redis
+ state: started
+ become: true \ No newline at end of file