2016-07-12 18:15:22 +08:00
|
|
|
---
|
|
|
|
# Use systemd to manage container on Atomic host
|
2019-07-24 16:10:18 +08:00
|
|
|
- name: include_tasks systemd.yml
|
|
|
|
include_tasks: systemd.yml
|
2016-07-12 18:15:22 +08:00
|
|
|
|
|
|
|
- name: systemd start rbd mirror container
|
2017-09-29 20:54:00 +08:00
|
|
|
systemd:
|
2021-03-03 22:43:50 +08:00
|
|
|
name: ceph-rbd-mirror@rbd-mirror.{{ ansible_facts['hostname'] }}
|
2016-07-12 18:15:22 +08:00
|
|
|
state: started
|
|
|
|
enabled: yes
|
2019-03-20 18:35:36 +08:00
|
|
|
masked: no
|
|
|
|
daemon_reload: yes
|