diff --git a/ansible/roles/horizon/tasks/config.yml b/ansible/roles/horizon/tasks/config.yml index 9efe1c779dbb49e75666b169bc376112e4eab030..e294895cc78765969572a0ccb651e7f77294338e 100644 --- a/ansible/roles/horizon/tasks/config.yml +++ b/ansible/roles/horizon/tasks/config.yml @@ -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] diff --git a/ansible/roles/horizon/templates/local_settings.j2 b/ansible/roles/horizon/templates/_9998-kolla-settings.py.j2 similarity index 100% rename from ansible/roles/horizon/templates/local_settings.j2 rename to ansible/roles/horizon/templates/_9998-kolla-settings.py.j2 diff --git a/ansible/roles/horizon/templates/custom_local_settings.j2 b/ansible/roles/horizon/templates/_9999-custom-settings.py.j2 similarity index 100% rename from ansible/roles/horizon/templates/custom_local_settings.j2 rename to ansible/roles/horizon/templates/_9999-custom-settings.py.j2