]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
dashboard: manage password backward compatibility
authorDimitri Savineau <dsavinea@redhat.com>
Mon, 11 Jan 2021 16:48:53 +0000 (11:48 -0500)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Mon, 18 Jan 2021 19:46:53 +0000 (14:46 -0500)
commitfdda54eeb42a2404fd47b6e12d0af697bc32892a
tree431328778f4828373777193d24169ed3a228025a
parentfb03dfda30ec7e7b23cc95009861981510d065f7
dashboard: manage password backward compatibility

The ceph dashboard changed the way the password are provided via the
CLI.
This breaks the backward compatibility when using a recent ceph-ansible
version with ceph release without that feature.
This patch adds tasks for legacy workflow (ceph release without that
feature) in both ceph-dashboard role and ceph_dashboard_user module.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
library/ceph_dashboard_user.py
roles/ceph-dashboard/tasks/configure_dashboard.yml
tests/library/test_ceph_dashboard_user.py