Merge "Rename horizon settings filenames"
This commit is contained in:
commit
8ccdc1898e
ansible/roles/horizon
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user