mirror of https://github.com/ceph/ceph-ansible.git
17 lines
452 B
YAML
17 lines
452 B
YAML
---
|
|
- name: Generate systemd unit file
|
|
ansible.builtin.template:
|
|
src: "{{ role_path }}/templates/ceph-mds.service.j2"
|
|
dest: /etc/systemd/system/ceph-mds@.service
|
|
owner: "root"
|
|
group: "root"
|
|
mode: "0644"
|
|
notify: Restart ceph mdss
|
|
|
|
- name: Generate systemd ceph-mds target file
|
|
ansible.builtin.copy:
|
|
src: ceph-mds.target
|
|
dest: /etc/systemd/system/ceph-mds.target
|
|
mode: "0644"
|
|
when: containerized_deployment | bool
|