]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Use systemd module instead of service. 1967/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 29 Sep 2017 12:54:00 +0000 (14:54 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 29 Sep 2017 12:54:00 +0000 (14:54 +0200)
commit466f6f35b7057746a6f1625d8b94adb958557d95
treed6d1a9c552450da1341df1de0c950dc6df65388c
parentdeb5d3ba1f3015e09d00028a252c32922cbaacbb
Use systemd module instead of service.

Using systemd module allows us to do in one task what we did in three
tasks:

- enable unit file,
- issue a `daemon-reload`,
- start the service

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-mds/tasks/docker/start_docker_mds.yml
roles/ceph-mgr/tasks/docker/start_docker_mgr.yml
roles/ceph-mon/tasks/docker/start_docker_monitor.yml
roles/ceph-osd/tasks/docker/start_docker_osd.yml
roles/ceph-rbd-mirror/tasks/docker/start_docker_rbd_mirror.yml