Skip to content

Commit 128f62c

Browse files
add skip verification to role
1 parent f503dd8 commit 128f62c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
# defaults file for loki-docker-plugin
3+
skip_loki_url_verification: false
34
daemon_options:
45
log-driver: "loki"
56
log-opts:
6-
loki-url: "{{ loki_url }}"
7+
loki-url: "{{ loki_url }}/loki/api/v1/push"
78
loki-batch-size: "400"
89
mode: "non-blocking"
910
max-buffer-size: "4m"

roles/loki-docker-plugin/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
until: response.status == 200 and 'ready' in response.content
1616
retries: 10
1717
delay: 10
18+
when: not skip_loki_url_verification
1819

1920
- name: Create docker daemon config.
2021
copy:

0 commit comments

Comments
 (0)