Skip to content

Commit

Permalink
fix: ansible synchronize command
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien4218 committed Nov 17, 2022
1 parent 3f981d3 commit 2f5217e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions deploy/linux/roles/prepare/tasks/installSupervisord.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@
file: path=/var/run/supervisor state=directory
become: yes

- synchronize:
- ansible.posix.synchronize:
src: supervisord.conf
dest: /etc
become: yes

- synchronize:
- ansible.posix.synchronize:
src: init.d-supervisord
dest: /etc/init.d/supervisord
become: yes
Expand Down
2 changes: 1 addition & 1 deletion deploy/linux/roles/upload/tasks/sync_service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
path: ~/{{ service_id }}
state: directory

- synchronize:
- ansible.posix.synchronize:
dest: ~/{{ service_id }}
src: ../../../../../engine/
rsync_opts:
Expand Down

0 comments on commit 2f5217e

Please sign in to comment.