diff options
author | 2018-07-20 20:30:09 -0700 | |
---|---|---|
committer | 2018-07-24 09:05:02 -0700 | |
commit | 79059b019d23cf56c993fc1fe4ead5617a38813d (patch) | |
tree | c71f4f0be6cb54a44f1b4b788daa9f1d71e33251 /packer/provision/redis.yaml | |
parent | 918a429ad02b0ca6d390d36363407701f9550e3a (diff) |
Fix memcache/redis packer
Update common packer
- Remove centos unused distros
- Add memcache and redis yaml file
- Update json templates
Change-Id: I1092d4a7ce957c8c31780045639b0819933af588
Issue-ID: CIMAN-33
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Diffstat (limited to 'packer/provision/redis.yaml')
-rw-r--r-- | packer/provision/redis.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packer/provision/redis.yaml b/packer/provision/redis.yaml new file mode 100644 index 000000000..307aecbc2 --- /dev/null +++ b/packer/provision/redis.yaml @@ -0,0 +1,17 @@ +--- +- import_playbook: ../common-packer/provision/baseline.yaml + +- hosts: all + become_user: root + become_method: sudo + + tasks: + - name: 'Install Redis' + package: + name: redis + state: present + + - name: 'Enable service redis' + service: + name: redis + state: enable |