fix(lint): no need to run_once when only running against one host

Signed-off-by: gardar <gardar@users.noreply.github.com>
This commit is contained in:
gardar 2022-12-08 17:58:56 +00:00
parent b2d9aa565a
commit 8f326b6162
No known key found for this signature in database
GPG key ID: 75FAE37CBA8C13C2
3 changed files with 0 additions and 9 deletions

View file

@ -16,7 +16,6 @@
until: _download_archive is succeeded
retries: 5
delay: 2
run_once: true
check_mode: false
- name: Unpack alertmanager binaries
@ -25,7 +24,6 @@
src: "/tmp/alertmanager-{{ version }}.linux-amd64.tar.gz"
dest: "/tmp"
creates: "/tmp/alertmanager-{{ version }}.linux-amd64/alertmanager"
run_once: true
check_mode: false
- name: Link to alertmanager binaries directory
@ -34,5 +32,4 @@
src: "/tmp/alertmanager-{{ version }}.linux-amd64"
dest: "/tmp/alertmanager-linux-amd64"
state: link
run_once: true
check_mode: false

View file

@ -17,7 +17,6 @@
until: _download_binary is succeeded
retries: 5
delay: 2
run_once: true
check_mode: false
- name: Unpack node_exporter binary
@ -26,7 +25,6 @@
src: "/tmp/node_exporter-{{ node_exporter_version }}.linux-{{ go_arch }}.tar.gz"
dest: "/tmp"
creates: "/tmp/node_exporter-{{ node_exporter_version }}.linux-{{ go_arch }}/node_exporter"
run_once: true
check_mode: false
- name: Link to node_exporter binaries directory
@ -35,7 +33,6 @@
src: "/tmp/node_exporter-{{ node_exporter_version }}.linux-amd64"
dest: "/tmp/node_exporter-linux-amd64"
state: link
run_once: true
check_mode: false
- name: Install pyOpenSSL for certificate generation

View file

@ -17,7 +17,6 @@
until: _download_archive is succeeded
retries: 5
delay: 2
run_once: true
check_mode: false
- name: Unpack prometheus binaries
@ -26,7 +25,6 @@
src: "/tmp/prometheus-{{ version }}.linux-amd64.tar.gz"
dest: "/tmp"
creates: "/tmp/prometheus-{{ version }}.linux-amd64/prometheus"
run_once: true
check_mode: false
- name: Link to prometheus binaries directory
@ -35,5 +33,4 @@
src: "/tmp/prometheus-{{ version }}.linux-amd64"
dest: "/tmp/prometheus-linux-amd64"
state: link
run_once: true
check_mode: false