#fetch_directory: fetch/
-###############
-# PERMISSIONS #
-###############
-
-# Permissions for /etc/ceph configuration directory
-#conf_directory_owner: root
-#conf_directory_group: root
-#conf_directory_mode: 644
-
-# Permissions for /etc/ceph/ceph.conf configuration file
-#conf_file_owner: root
-#conf_file_group: root
-#conf_file_mode: 644
-
#########
# INSTALL
#########
\r
fetch_directory: fetch/\r
\r
-###############\r
-# PERMISSIONS #\r
-###############\r
-\r
-# Permissions for /etc/ceph configuration directory\r
-conf_directory_owner: root\r
-conf_directory_group: root\r
-conf_directory_mode: 644\r
-\r
-# Permissions for /etc/ceph/ceph.conf configuration file\r
-conf_file_owner: root\r
-conf_file_group: root\r
-conf_file_mode: 644\r
-\r
###########\r
# INSTALL #\r
###########\r
file:
path: /etc/ceph
state: directory
- owner: "{{ conf_directory_owner }}"
- group: "{{ conf_directory_group }}"
- mode: "{{ conf_directory_mode }}"
+ owner: "{{ dir_owner }}"
+ group: "{{ dir_group }}"
+ mode: "{{ dir_mode }}"
- name: generate ceph configuration file
action: config_template
args:
src: ceph.conf.j2
dest: /etc/ceph/ceph.conf
- owner: "{{ conf_file_owner }}"
- group: "{{ conf_file_group }}"
- mode: "{{ conf_file_mode }}"
+ owner: "{{ dir_owner }}"
+ group: "{{ dir_group }}"
+ mode: "{{ activate_file_mode }}"
config_overrides: "{{ ceph_conf_overrides }}"
config_type: ini
notify: