Skip to content

Commit

Permalink
role:monitoring_plugins: do not use run_once, as hosts can have diffe…
Browse files Browse the repository at this point in the history
…rent versions of the repos
  • Loading branch information
NavidSassan committed Jun 28, 2022
1 parent 694d99e commit 40dd87d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
depth: 2
hidden: true
register: 'find_result'
run_once: true

- name: 'Set filter'
ansible.builtin.set_fact:
Expand Down
4 changes: 0 additions & 4 deletions roles/monitoring_plugins/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
version: '{{ monitoring_plugins__github_version | d(monitoring_plugins__repo_version) }}'
depth: 1
delegate_to: 'localhost'
run_once: true
check_mode: false # run task even if `--check` is specified

rescue:
Expand All @@ -57,7 +56,6 @@
version: '{{ monitoring_plugins__github_version | d(monitoring_plugins__repo_version) }}'
depth: 1
delegate_to: 'localhost'
run_once: true
check_mode: false # run task even if `--check` is specified

tags:
Expand All @@ -73,7 +71,6 @@
version: '{{ monitoring_plugins__github_version | d(monitoring_plugins__repo_version) }}'
depth: 1
delegate_to: 'localhost'
run_once: true
check_mode: false # run task even if `--check` is specified

rescue:
Expand All @@ -91,7 +88,6 @@
version: '{{ monitoring_plugins__github_version | d(monitoring_plugins__repo_version) }}'
depth: 1
delegate_to: 'localhost'
run_once: true
check_mode: false # run task even if `--check` is specified

tags:
Expand Down

0 comments on commit 40dd87d

Please sign in to comment.