-
Evangelos Foutras authored
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.
Evangelos Foutras authoredLiberally 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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
main.yml 378 B
- 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