ceph-ansible/roles/ceph-defaults/tasks
Markos Chandras 126e2e3f92 roles: ceph-defaults: Check if 'rgw' attribute exists for rgw_hostname
If there are no services on the cluster, then the 'rgw' could be missing
and the task is failing with the following problem:

msg": "The task includes an option with an undefined variable.
The error was: 'dict object' has no attribute 'rgw'

We fix this by checking the existence of the 'rgw' attribute. If it's
missing, we skip the task since the role already contains code to set
a good default rgw_hostname.

Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-08-20 11:37:45 +02:00
..
check_running_cluster.yml defaults: rename check_socket files for containers 2018-01-10 15:44:47 +01:00
check_running_containers.yml ceph-iscsi: support for containerize deployment 2018-06-08 10:21:54 +02:00
check_socket_non_container.yml ceph-iscsi: support for containerize deployment 2018-06-08 10:21:54 +02:00
create_ceph_initial_dirs.yml Expose /var/run/ceph 2018-04-20 15:48:32 +02:00
facts.yml roles: ceph-defaults: Check if 'rgw' attribute exists for rgw_hostname 2018-08-20 11:37:45 +02:00
main.yml move create ceph initial directories to default 2018-04-20 15:48:32 +02:00