From: Guillaume Abrioux Date: Tue, 26 Nov 2019 09:59:29 +0000 (+0100) Subject: dashboard: only print dashboard url of the grafana-server node X-Git-Tag: v4.0.6~25 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e8ed36fdaecd634df29acd7a3db90ee33b92e7bc;p=ceph-ansible.git dashboard: only print dashboard url of the grafana-server node This commit makes the ceph-dashboard role only printing ceph-dashboard URL of the nodes present in grafana-server group Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1762163 Signed-off-by: Guillaume Abrioux (cherry picked from commit cc0c1ce30154118670d7e9b19e9e092b22dbfc2c) --- diff --git a/roles/ceph-dashboard/tasks/main.yml b/roles/ceph-dashboard/tasks/main.yml index e92cd7abf..ee3cbc528 100644 --- a/roles/ceph-dashboard/tasks/main.yml +++ b/roles/ceph-dashboard/tasks/main.yml @@ -5,3 +5,4 @@ - name: print dashboard URL debug: msg: "The dashboard has been deployed! You can access your dashboard web UI at {{ dashboard_protocol }}://{{ ansible_fqdn }}:{{ dashboard_port }}/ as an '{{ dashboard_admin_user }}' user with '{{ dashboard_admin_password }}' password." + run_once: true