Kaynağa Gözat

[loki] Update binary and disable aut

Colin Powell 3 yıl önce
ebeveyn
işleme
495fb539e4

+ 6 - 5
ansible/roles/loki/tasks/main.yml

@@ -4,11 +4,12 @@
     name: gtar
     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
   shell: sysrc supervisord_enable="YES"

+ 1 - 1
ansible/roles/loki/templates/loki.config.yml.j2

@@ -1,4 +1,4 @@
-auth_enabled: true
+auth_enabled: false
 
 server:
   http_listen_port: 3100