From 337693b34f9f26585dc8ec2ef0b7f1de5111b865 Mon Sep 17 00:00:00 2001 From: v-zhuravlev Date: Tue, 20 Aug 2024 16:44:21 +0800 Subject: [PATCH] Fix grafana-agent installations where ansible hosts have different versions/architectures --- roles/grafana_agent/tasks/install/download-install.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/roles/grafana_agent/tasks/install/download-install.yaml b/roles/grafana_agent/tasks/install/download-install.yaml index 6cb1c96b..1587f0ad 100644 --- a/roles/grafana_agent/tasks/install/download-install.yaml +++ b/roles/grafana_agent/tasks/install/download-install.yaml @@ -23,7 +23,6 @@ delay: 2 delegate_to: localhost check_mode: false - run_once: true - name: Extract grafana-agent.zip become: false @@ -32,11 +31,6 @@ dest: "{{ grafana_agent_local_tmp_dir }}" remote_src: false delegate_to: localhost - run_once: true - - - name: Set local path - ansible.builtin.set_fact: - __grafana_agent_local_binary_file: "{{ grafana_agent_local_tmp_dir }}/{{ grafana_agent_binary }}" - name: Propagate downloaded binary ansible.builtin.copy: