Skip to content

Commit 4065e4c

Browse files
authored
Changing copy for syncrhonize (#81)
1 parent a4a3159 commit 4065e4c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

operations/deployment/ansible/tasks/fetch.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# copy the repo code to the VM
2-
- name: copy repo
3-
copy:
2+
- name: syncrhonize repo
3+
ansible.posix.synchronize:
44
src: "{{ lookup('ansible.builtin.env', 'ANSIBLE_ROOT') }}/app/{{ app_repo_name }}"
55
dest: "{{ app_install_root }}"
6-
register: copy_repo_output
6+
register: synchro_repo_output
77

88
- ansible.builtin.debug:
9-
var: copy_repo_output
9+
var: synchro_repo_output
1010

1111
- name: copy the .env file
1212
copy:

0 commit comments

Comments
 (0)