Skip to content

Commit

Permalink
use remote_src, and not copy with ansible.builtin.unarchive
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Nov 9, 2023
1 parent f0dc847 commit 6ef7697
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion roles/matomo/tasks/setup_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
dest: '{{ matomo_working_dir }}'
owner: '{{ matomo_user }}'
group: '{{ matomo_group }}'
copy: false
remote_src: true

- name: Install new matomo files
ansible.builtin.command: mv {{ matomo_working_dir }}/matomo {{ matomo_dir }}
Expand Down
2 changes: 1 addition & 1 deletion roles/matomo/tasks/setup_plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
dest: '{{ matomo_plugin_path }}'
owner: '{{ nginx_owner }}'
group: '{{ nginx_group }}'
copy: false
remote_src: true

- name: Corrent directory name - {{ plugin_name }}
ansible.builtin.command: mv {{ tmp_plugin_dir }} {{ plugin_dir }}
Expand Down
2 changes: 1 addition & 1 deletion roles/matomo/tasks/setup_upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
dest: '{{ matomo_working_dir }}'
owner: '{{ matomo_user }}'
group: '{{ matomo_group }}'
copy: false
remote_src: true

- name: Make sure config.ini.php will not be overwritten
ansible.builtin.file:
Expand Down
2 changes: 1 addition & 1 deletion roles/nextcloud/tasks/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
dest: '{{ nextcloud_dir }}'
owner: '{{ nginx_owner }}'
group: '{{ nginx_group }}'
copy: false
remote_src: true
# workaround for ansible 2.1.0.0 bug
environment:
LANG: C
Expand Down
2 changes: 1 addition & 1 deletion roles/rocketchat/tasks/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
- name: Unpack the Rocket.Chat binary tarball version {{ rocketchat_version }}
ansible.builtin.unarchive:
copy: false
remote_src: true
src: "{{ rocketchat_source_file }}"
dest: "{{ rocketchat_dir }}"
creates: "{{ rocketchat_application_path }}"
Expand Down

0 comments on commit 6ef7697

Please sign in to comment.