mirror of https://github.com/ceph/ceph-ansible.git
20 lines
446 B
YAML
20 lines
446 B
YAML
---
|
|
- name: create ceph conf directory
|
|
file:
|
|
path: /etc/ceph
|
|
state: directory
|
|
owner: root
|
|
group: root
|
|
mode: 0644
|
|
|
|
- name: generate ceph configuration file
|
|
action: config_template
|
|
args:
|
|
src: "{{ playbook_dir }}/roles/ceph-common/templates/ceph.conf.j2"
|
|
dest: /etc/ceph/ceph.conf
|
|
owner: "root"
|
|
group: "root"
|
|
mode: "0644"
|
|
config_overrides: "{{ ceph_conf_overrides }}"
|
|
config_type: ini
|