]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
purge: fix ubuntu purge when not using systemd
authorSébastien Han <seb@redhat.com>
Fri, 27 Jan 2017 10:33:37 +0000 (11:33 +0100)
committerSébastien Han <seb@redhat.com>
Mon, 30 Jan 2017 13:31:56 +0000 (14:31 +0100)
commite371bd591c45ad9e18fda9fcd938b736044146e2
tree78312a9c7788c5e4762f2e35d4de5ba7cb3b9798
parent0e2e270ab238f63285422fed90fc773d9e4ae0be
purge: fix ubuntu purge when not using systemd

We now rely on the cli tool ceph-detect-init which will tell us the init
system in used on the distribution. We do this instead of the previous
lookup for systemd unit files to call the right task depending on the
init system.

Signed-off-by: Sébastien Han <seb@redhat.com>
infrastructure-playbooks/purge-cluster.yml