Skip to content

Commit

Permalink
only omit rsync, if Galaxy is not being updated
Browse files Browse the repository at this point in the history
  • Loading branch information
mira-miracoli committed Jun 29, 2024
1 parent cc413b6 commit 5835d38
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 5835d38

Please sign in to comment.