ceph-ansible/roles/ceph-rbd-mirror/tasks/start_container_rbd_mirror.yml

13 lines
314 B
YAML

---
# Use systemd to manage container on Atomic host
- name: include_tasks systemd.yml
include_tasks: systemd.yml
- name: systemd start rbd mirror container
systemd:
name: ceph-rbd-mirror@rbd-mirror.{{ ansible_facts['hostname'] }}
state: started
enabled: yes
masked: no
daemon_reload: yes