Skip to content

Commit

Permalink
Restore base domain to themes by host
Browse files Browse the repository at this point in the history
  • Loading branch information
natefoo committed Aug 21, 2024
1 parent 610de30 commit caf1c89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ galaxy_app_config_default:
{% endif %} }
themes_config_file_by_host: >
{ {% if galaxy_manage_themes and galaxy_themes_subdomains %}
'{{ galaxy_themes_instance_domain }}': '{{ galaxy_config.galaxy.themes_config_file | default((galaxy_config_dir, "themes_conf.yml") | path_join) }}',
{% for subdomain in galaxy_themes_subdomains %}
{% if subdomain.theme is defined %}
'{{ subdomain.name }}.{{ galaxy_themes_instance_domain}}': 'themes_conf-{{ subdomain.name }}.yml',
Expand Down
2 changes: 1 addition & 1 deletion tasks/themes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- name: Write base themes config
ansible.builtin.copy:
content: "{{ galaxy_themes | to_yaml }}"
dest: "{{ galaxy_config_merged.themes_config_file | default((galaxy_config_dir, 'themes_conf.yml') | path_join) }}"
dest: "{{ galaxy_config_merged.galaxy.themes_config_file | default((galaxy_config_dir, 'themes_conf.yml') | path_join) }}"
mode: "0644"

- name: Write subdomain themes configs
Expand Down

0 comments on commit caf1c89

Please sign in to comment.