diff options
author | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2018-07-24 20:43:54 -0700 |
---|---|---|
committer | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2018-07-25 04:19:08 +0000 |
commit | a7906983275c0d56b2b7458889f258d9c06b0b26 (patch) | |
tree | b1c4338e74740e73cd4cfe26230a3ff8d4cdd80e | |
parent | d5ba5468d7548f0afecca70c4112c39c4e65bcfd (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.yaml | 8 |
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 |