Skip to content

Commit

Permalink
Merge pull request #215 from mira-miracoli/fix-static-for-updates
Browse files Browse the repository at this point in the history
Only omit rsync, if Galaxy is not being updated
  • Loading branch information
natefoo authored Jun 29, 2024
2 parents cc413b6 + 5835d38 commit ffb86cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/static_subdomain_dirs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
ansible.posix.synchronize:
src: "{{ galaxy_themes_static_path }}/static/"
dest: "{{ galaxy_themes_static_path }}/static-{{ subdomain.name }}"
rsync_opts: ["--ignore-existing"]
rsync_opts: "{{ ['--ignore-existing'] if __galaxy_client_build_version ==
__galaxy_current_commit_id else omit }}"
delegate_to: "{{ inventory_hostname }}"

- name: Check if welcome.html is present in files
Expand Down

0 comments on commit ffb86cd

Please sign in to comment.