|
@@ -4,11 +4,12 @@
|
|
name: gtar
|
|
name: gtar
|
|
state: latest
|
|
state: latest
|
|
|
|
|
|
-- name: Loki binary installed
|
|
|
|
- ansible.builtin.unarchive:
|
|
|
|
- src: https://github.com/grafana/loki/releases/download/v2.2.0/loki-freebsd-amd64.zip
|
|
|
|
- dest: /usr/local/bin
|
|
|
|
- remote_src: yes
|
|
|
|
|
|
+- name: Loki binary downloaded
|
|
|
|
+ shell: fetch https://github.com/grafana/loki/releases/download/v2.2.0/loki-freebsd-amd64.zip -o /usr/local/bin/loki.zip
|
|
|
|
+
|
|
|
|
+#- name: Unpack Loki binary
|
|
|
|
+# shell: unzip /usr/local/bin/loki.zip
|
|
|
|
+# warn: false
|
|
|
|
|
|
- name: Supervisord enabled
|
|
- name: Supervisord enabled
|
|
shell: sysrc supervisord_enable="YES"
|
|
shell: sysrc supervisord_enable="YES"
|