Skip to content

Commit

Permalink
Add 'run_once' to download&unzip tasks (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
v-zhuravlev authored Jan 31, 2024
1 parent 3b89820 commit b19185b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/grafana_agent/tasks/install/download-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
delay: 2
delegate_to: localhost
check_mode: false
run_once: true

- name: Extract grafana-agent.zip
become: false
Expand All @@ -31,6 +32,7 @@
dest: "{{ grafana_agent_local_tmp_dir }}"
remote_src: false
delegate_to: localhost
run_once: true

- name: Set local path
ansible.builtin.set_fact:
Expand Down

0 comments on commit b19185b

Please sign in to comment.