We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4a3159 commit 4065e4cCopy full SHA for 4065e4c
operations/deployment/ansible/tasks/fetch.yml
@@ -1,12 +1,12 @@
1
# copy the repo code to the VM
2
-- name: copy repo
3
- copy:
+- name: syncrhonize repo
+ ansible.posix.synchronize:
4
src: "{{ lookup('ansible.builtin.env', 'ANSIBLE_ROOT') }}/app/{{ app_repo_name }}"
5
dest: "{{ app_install_root }}"
6
- register: copy_repo_output
+ register: synchro_repo_output
7
8
- ansible.builtin.debug:
9
- var: copy_repo_output
+ var: synchro_repo_output
10
11
- name: copy the .env file
12
copy:
0 commit comments