]> 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>
Tue, 6 Aug 2019 07:34:20 +0000 (09:34 +0200)
commitf545b5be0d5d5433692a889b0425c164d7c9f812
treed597cce67f079c64d746c883b17b0324037dffcc
parent5ee3d96fb428a734c58d8823daf660b47595bafa
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>
roles/ceph-dashboard/tasks/configure_dashboard.yml