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

21 lines
448 B
YAML

# 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
- name: install service file
command: systemctl daemon-reload
- name: start service at boot.
command: systemctl reenable memcached.service
- name: make sure service is started
systemd:
name: memcached.service
state: started