Added cassandra together with Wim

This commit is contained in:
Egon Rijpkema
2017-06-13 12:08:41 +02:00
parent 4c219eafc2
commit ac78a1a272
4 changed files with 53 additions and 6 deletions

View File

@ -0,0 +1,16 @@
# Install a docker based cassandra cluster.
---
- include: ../common/tasks/docker.yml
- name: install service file.
template:
src: templates/cassandra.service
dest: /etc/systemd/system/cassandra.service
mode: 644
owner: root
group: root
- name: install service file
command: systemctl daemon-reload
- name: make sure service is started
systemd:
name: cassandra.service
state: started