ceph-ansible/roles/ceph-defaults/tasks
Sébastien Han 6d7fa99ff7 defaults: fix rgw_hostname
A couple if things were wrong in the initial commit:

* ceph_release_num[ceph_release] >= ceph_release_num['luminous'] will
never work since the ceph_release fact is set in the roles after. So
either ceph-common or ceph-docker-common set it

* we can easily re-use the initial command to check if a cluster is
running, it's more elegant than running it twice.

* set the fact rgw_hostname on rgw nodes only

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1618678
Signed-off-by: Sébastien Han <seb@redhat.com>
2018-08-22 17:46:00 +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 defaults: fix rgw_hostname 2018-08-22 17:46:00 +02:00
main.yml move create ceph initial directories to default 2018-04-20 15:48:32 +02:00