]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-dashboard: Add run_once on delegate tasks
authorDimitri Savineau <dsavinea@redhat.com>
Fri, 2 Aug 2019 14:58:11 +0000 (10:58 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 8 Aug 2019 11:47:09 +0000 (13:47 +0200)
commitcf82ac5590b84c74059268f383abb7ab3dea3704
tree90774b8fb2057aced92dffd2155480829a8734ae
parent8bb1be30fa4e22c70a85477034d6fefaeaf95ded
ceph-dashboard: Add run_once on delegate tasks

Because we need to execute commands from a monitor node (the first one
in the mons list) we are using delegate_to option.
If there's multiple nodes running the ceph-dashboard role then the
delegated task will be executed multiple times.
Also remove a mgr config-key option not present for nautilus+ releases.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit f545b5be0d5d5433692a889b0425c164d7c9f812)
roles/ceph-dashboard/tasks/configure_dashboard.yml