]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
dashboard: enable https by default
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 3 Nov 2020 12:49:59 +0000 (13:49 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 5 Nov 2020 08:02:15 +0000 (09:02 +0100)
see linked bz for details

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1889426
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 767d3c898e2d8f7dddb655fd98827d5da8b338e8)

group_vars/all.yml.sample
group_vars/rhcs.yml.sample
roles/ceph-defaults/defaults/main.yml

index 08721830eb779b2ec6614938851e929644d755fa..7bd61b652de1a66c99017cf74c0ece17456c4454 100644 (file)
@@ -742,7 +742,9 @@ dummy:
 #dashboard_enabled: True
 # Choose http or https
 # For https, you should set dashboard.crt/key and grafana.crt/key
-#dashboard_protocol: http
+# If you define the dashboard_crt and dashboard_key variables, but leave them as '',
+# then we will autogenerate a cert and keyfile
+#dashboard_protocol: https
 #dashboard_port: 8443
 #dashboard_admin_user: admin
 #dashboard_admin_user_ro: false
index d0ba2bf364ad6bdf076aa612d4806f436686621a..66c932e47bab47a87e9eadc093e7da53bcd16ad2 100644 (file)
@@ -742,7 +742,9 @@ ceph_docker_registry_auth: true
 #dashboard_enabled: True
 # Choose http or https
 # For https, you should set dashboard.crt/key and grafana.crt/key
-#dashboard_protocol: http
+# If you define the dashboard_crt and dashboard_key variables, but leave them as '',
+# then we will autogenerate a cert and keyfile
+#dashboard_protocol: https
 #dashboard_port: 8443
 #dashboard_admin_user: admin
 #dashboard_admin_user_ro: false
index 7a516b0dd17c642177395f1ffcc9ff0b56bc088b..86f6c47e243396c8d8e32dfedbc8d106eb84ceea 100644 (file)
@@ -734,7 +734,9 @@ openstack_keys:
 dashboard_enabled: True
 # Choose http or https
 # For https, you should set dashboard.crt/key and grafana.crt/key
-dashboard_protocol: http
+# If you define the dashboard_crt and dashboard_key variables, but leave them as '',
+# then we will autogenerate a cert and keyfile
+dashboard_protocol: https
 dashboard_port: 8443
 dashboard_admin_user: admin
 dashboard_admin_user_ro: false