mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
Liberally add "noqa no-changed-when" tags to the problematic tasks, except for two "systemd-tmpfiles --create" calls. For these we can simply include the creates= parameter in the command module's call.
11 lines
378 B
YAML
11 lines
378 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 creates=/run/memcached
|
|
when: memcachedtmpfiles.changed
|