volume avoiding to expose useless information.
This bug is referred to the following bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=
1683290
Signed-off-by: fpantano <fpantano@redhat.com>
-v /etc/ceph:/etc/ceph:z \
-v /var/run/ceph:/var/run/ceph:z \
-v /etc/localtime:/etc/localtime:ro \
+ {% if ansible_distribution == 'RedHat' -%}
+ -v /etc/pki/ca-trust/extracted:/etc/pki/ca-trust/extracted:ro \
+ -v /etc/pki/ca-trust/source/anchors:/etc/pki/ca-trust/source/anchors:ro \
+ {% elif ansible_distribution == 'Ubuntu' -%}
+ -v /etc/ssl/certs:/etc/ssl/certs:ro \
+ {% endif -%}
-e CEPH_DAEMON=RGW \
-e CLUSTER={{ cluster }} \
-e RGW_NAME={{ ansible_hostname }}.${INST_NAME} \