diff --git a/roles/single/tasks/install.yml b/roles/single/tasks/install.yml index ca8d642..37aee26 100644 --- a/roles/single/tasks/install.yml +++ b/roles/single/tasks/install.yml @@ -63,6 +63,8 @@ src: "{{ victoriametrics_download_url }}" dest: /tmp/vic-single/ remote_src: yes + extra_opts: + - --no-same-owner notify: Restart VictoriaMetrics service register: archive_downloaded become: no diff --git a/roles/vmagent/tasks/install.yml b/roles/vmagent/tasks/install.yml index 94f9185..20b4d20 100644 --- a/roles/vmagent/tasks/install.yml +++ b/roles/vmagent/tasks/install.yml @@ -81,6 +81,8 @@ src: "{{ vmagent_download_url }}" dest: /tmp remote_src: yes + extra_opts: + - --no-same-owner when: - not ansible_check_mode - not vmagent_is_installed.stat.exists or diff --git a/roles/vmalert/tasks/install.yml b/roles/vmalert/tasks/install.yml index ea0fcd4..f7c3840 100644 --- a/roles/vmalert/tasks/install.yml +++ b/roles/vmalert/tasks/install.yml @@ -30,6 +30,8 @@ src: "{{ vic_vm_alert_download_url }}" dest: /tmp remote_src: yes + extra_opts: + - --no-same-owner delegate_to: localhost become: no when: diff --git a/roles/vmauth/tasks/install.yml b/roles/vmauth/tasks/install.yml index 663ea7b..0911d10 100644 --- a/roles/vmauth/tasks/install.yml +++ b/roles/vmauth/tasks/install.yml @@ -81,6 +81,8 @@ src: "{{ vmauth_download_url }}" dest: /tmp remote_src: yes + extra_opts: + - --no-same-owner when: - not ansible_check_mode - not vmauth_is_installed.stat.exists or diff --git a/roles/vminsert/tasks/install.yml b/roles/vminsert/tasks/install.yml index 543a1e5..89a66fd 100644 --- a/roles/vminsert/tasks/install.yml +++ b/roles/vminsert/tasks/install.yml @@ -81,6 +81,8 @@ src: "{{ vminsert_download_url }}" dest: /tmp remote_src: yes + extra_opts: + - --no-same-owner when: - not ansible_check_mode - not vminsert_is_installed.stat.exists or diff --git a/roles/vmselect/tasks/install.yml b/roles/vmselect/tasks/install.yml index 6856e19..e96ada4 100644 --- a/roles/vmselect/tasks/install.yml +++ b/roles/vmselect/tasks/install.yml @@ -81,6 +81,8 @@ src: "{{ vmselect_download_url }}" dest: /tmp remote_src: yes + extra_opts: + - --no-same-owner when: - not ansible_check_mode - not vmselect_is_installed.stat.exists or diff --git a/roles/vmstorage/tasks/install.yml b/roles/vmstorage/tasks/install.yml index 650ebd9..545cf5d 100644 --- a/roles/vmstorage/tasks/install.yml +++ b/roles/vmstorage/tasks/install.yml @@ -81,6 +81,8 @@ src: "{{ vmstorage_download_url }}" dest: /tmp remote_src: yes + extra_opts: + - --no-same-owner when: - not ansible_check_mode - not vmstorage_is_installed.stat.exists or