1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/memcached/tasks/main.yml
Giancarlo Razzolini 36212039d5
roles/memcached: Initial work on the memcached role.
roles/archweb: Make archweb install and use it's own memcached service, running as the archweb user and using a socket.
2016-12-27 14:13:53 -02:00

13 lines
360 B
YAML

---
- name: install memcached
pacman: name=memcached state=present
- name: put memcached.conf into tmpfiles
template: src=memcached-tmpfiles.d.j2 dest=/etc/tmpfiles.d/memcached.conf owner=root group=root mode=0644
register: memcachedtmpfiles
- name: use tmpfiles.d/memcached.conf
command: systemd-tmpfiles --create
when: memcachedtmpfiles.changed