openstack-ansible-memcached.../tasks
Kevin Carter b04b48bc7f Add handler when systemd is used
The service handler will restart a sysV or upstart init script when
present instead of a systemd service unit. In Xenial both upstart and
systemd service files can be present at the same time which can create
an unintended consequence by restarting the wrong service. This change
creates a guard so that if systemd is used we restart using a systemctl
command otherwise we use the service module.

> NOTE a systemctl command is used because the systemd module is not
  available until ansible 2.2

Change-Id: I71cd03ac0f10e88e83c085b7a87b7b2f710d0c3e
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-03-14 18:02:22 +00:00
..
main.yml Optimise the distro package installation 2017-06-09 09:14:59 +01:00
memcached_config.yml Add handler when systemd is used 2018-03-14 18:02:22 +00:00
memcached_install-apt.yml Optimise the distro package installation 2017-06-09 09:14:59 +01:00
memcached_install-yum.yml Optimise the distro package installation 2017-06-09 09:14:59 +01:00