hpc-cloud/roles/memcached/tasks/main.yml

21 lines
448 B
YAML
Raw Normal View History

2017-06-21 13:38:55 +02:00
# Install a docker based mariadb.
---
- name: install service file.
template:
src: files/memcached.service
dest: /etc/systemd/system/memcached.service
mode: 644
owner: root
group: root
2017-06-21 13:38:55 +02:00
- name: install service file
command: systemctl daemon-reload
- name: start service at boot.
command: systemctl reenable memcached.service
2017-06-21 13:38:55 +02:00
- name: make sure service is started
systemd:
name: memcached.service
state: started