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

13 lines
351 B
YAML
Raw Normal View History

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