when upgrading from RHCS 3, dashboard has obviously never been deployed
and it forces us to deploy it later manually.
This commit adds the dashboard deployment as part of the upgrade to
RHCS 4.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1779092
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
- "{{ nfs_group_name|default('nfss') }}"
- "{{ client_group_name|default('clients') }}"
- "{{ iscsi_gw_group_name|default('iscsigws') }}"
+ - "{{ grafana_server_group_name|default('grafana-server') }}"
become: True
gather_facts: False
run_once: true
when: delegate_facts_host | bool
+ - import_role:
+ name: ceph-facts
+
+ - import_role:
+ name: ceph-infra
+
+ - import_role:
+ name: ceph-validate
+
- set_fact: rolling_update=true
- name: upgrade ceph mon cluster
vars:
msgr2_migration: True
+- import_playbook: ../dashboard.yml
+ when:
+ - dashboard_enabled | bool
+ - groups.get(grafana_server_group_name, []) | length > 0
- name: show ceph status
hosts: "{{ mon_group_name|default('mons') }}"