diff --git a/defaults/main.yml b/defaults/main.yml index e1aff647..4ccb3060 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -427,7 +427,9 @@ horizon_custom_themes: {} # value is the theme_name from the vars above horizon_default_theme: "default" -horizon_webroot: / +# URI through which Horizon will be available. +# If Skyline is not deployed defaults to `/`, `/horizon` otherwise. +horizon_webroot: "{{ (groups['skyline_all'] | default([])) | ternary('/horizon', '/') }}" horizon_bind_address: "{{ openstack_service_bind_address | default('0.0.0.0') }}" diff --git a/releasenotes/notes/horizon_webroot-ae22a11343c1fb1e.yaml b/releasenotes/notes/horizon_webroot-ae22a11343c1fb1e.yaml new file mode 100644 index 00000000..13a6fc6a --- /dev/null +++ b/releasenotes/notes/horizon_webroot-ae22a11343c1fb1e.yaml @@ -0,0 +1,6 @@ +--- +features: + - | + Horizon is now co-installabe with Skyline dashboard. In case both + Horizon and Skyline are deployed, Horizon will be served by + `/horizon` URI.