08146dc3b6
TrivialFix Change-Id: If3b975710425a88f5cc8df016a009e5e5b413ca5
22 lines
850 B
Django/Jinja
22 lines
850 B
Django/Jinja
{
|
|
{%- if orchestration_engine == 'KUBERNETES' %}
|
|
"command": "/usr/bin/ceph-osd -f -d --public-addr @HOSTADDR@ --cluster-addr @CLUSTERADDR@",
|
|
{%- else %}
|
|
"command": "/usr/bin/ceph-osd -f -d --public-addr {{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }} --cluster-addr {{ hostvars[inventory_hostname]['ansible_' + cluster_interface]['ipv4']['address'] }}",
|
|
{%- endif %}
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/ceph.conf",
|
|
"dest": "/etc/ceph/ceph.conf",
|
|
"owner": "ceph",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/ceph.client.admin.keyring",
|
|
"dest": "/etc/ceph/ceph.client.admin.keyring",
|
|
"owner": "ceph",
|
|
"perm": "0600"
|
|
}
|
|
]
|
|
}
|