Merge "Rename horizon settings filenames"

This commit is contained in:
Zuul 2024-02-08 16:09:17 +00:00 committed by Gerrit Code Review
commit 8ccdc1898e
3 changed files with 8 additions and 8 deletions

@ -83,12 +83,12 @@
horizon: "{{ horizon_services['horizon'] }}"
template:
src: "{{ item }}"
dest: "{{ node_config_directory }}/horizon/local_settings"
dest: "{{ node_config_directory }}/horizon/_9998-kolla-settings.py"
mode: "0660"
with_first_found:
- "{{ node_custom_config }}/horizon/{{ inventory_hostname }}/local_settings"
- "{{ node_custom_config }}/horizon/local_settings"
- "local_settings.j2"
- "{{ node_custom_config }}/horizon/{{ inventory_hostname }}/_9998-kolla-settings.py"
- "{{ node_custom_config }}/horizon/_9998-kolla-settings.py"
- "_9998-kolla-settings.py.j2"
when:
- horizon.enabled | bool
- inventory_hostname in groups[horizon.group]
@ -101,12 +101,12 @@
horizon: "{{ horizon_services['horizon'] }}"
template:
src: "{{ item }}"
dest: "{{ node_config_directory }}/horizon/custom_local_settings"
dest: "{{ node_config_directory }}/horizon/_9999-custom-settings.py"
mode: "0660"
with_first_found:
- "{{ node_custom_config }}/horizon/{{ inventory_hostname }}/custom_local_settings"
- "{{ node_custom_config }}/horizon/custom_local_settings"
- "custom_local_settings.j2"
- "{{ node_custom_config }}/horizon/{{ inventory_hostname }}/_9999-custom-settings.py"
- "{{ node_custom_config }}/horizon/_9999-custom-settings.py"
- "_9999-custom-settings.py.j2"
when:
- horizon.enabled | bool
- inventory_hostname in groups[horizon.group]