download loki binaries on the target system
this has the downside of taking up a bit of space, but at least this makes the role more idempotent when it comes to re-running it from different control nodes (e.g. in CI)
This commit is contained in:
parent
765a12dadd
commit
77e65a5780
@ -49,7 +49,6 @@
|
|||||||
retries: 5
|
retries: 5
|
||||||
delay: 2
|
delay: 2
|
||||||
loop: "{{ loki_bins }}"
|
loop: "{{ loki_bins }}"
|
||||||
delegate_to: localhost
|
|
||||||
check_mode: false
|
check_mode: false
|
||||||
|
|
||||||
- name: unpack binaries
|
- name: unpack binaries
|
||||||
@ -59,7 +58,6 @@
|
|||||||
dest: "/tmp"
|
dest: "/tmp"
|
||||||
creates: "/tmp/{{ item }}-{{ loki_version }}-linux-{{ go_arch }}"
|
creates: "/tmp/{{ item }}-{{ loki_version }}-linux-{{ go_arch }}"
|
||||||
loop: "{{ loki_bins }}"
|
loop: "{{ loki_bins }}"
|
||||||
delegate_to: localhost
|
|
||||||
check_mode: false
|
check_mode: false
|
||||||
|
|
||||||
- name: propagate official binaries
|
- name: propagate official binaries
|
||||||
@ -69,6 +67,7 @@
|
|||||||
mode: 0755
|
mode: 0755
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
|
remote_src: true
|
||||||
loop: "{{ loki_bins }}"
|
loop: "{{ loki_bins }}"
|
||||||
notify:
|
notify:
|
||||||
- restart loki
|
- restart loki
|
||||||
|
Loading…
Reference in New Issue
Block a user