Skip to content

Commit

Permalink
use copy instead of synchronize
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni authored Dec 28, 2023
1 parent 27d7a5e commit 7a11b3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions obal/data/roles/fetch_sources/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
depth: 1

- name: 'Copy upstream files'
ansible.posix.synchronize:
ansible.builtin.copy:
src: "{{ obal_tmp_dir }}/{{ upstream_directory }}/{{ item }}"
dest: "{{ inventory_dir }}/{{ package_base_dir }}/{{ inventory_hostname }}/"
with_items: "{{ upstream_files }}"
Expand Down Expand Up @@ -58,7 +58,7 @@
chdir: "{{ obal_tmp_dir }}/{{ inventory_hostname }}"

- name: 'Copy upstream files'
ansible.posix.synchronize:
ansible.builtin.copy:
src: "{{ obal_tmp_dir }}/{{ inventory_hostname }}/{{ item }}"
dest: "{{ inventory_dir }}/{{ package_base_dir }}/{{ inventory_hostname }}/"
with_items: "{{ upstream_files }}"
Expand Down

0 comments on commit 7a11b3f

Please sign in to comment.