changes
This commit is contained in:
parent
edf06d6468
commit
653277b1d5
@ -15,8 +15,8 @@ loki_storage_dir: /var/lib/loki
|
|||||||
|
|
||||||
loki_tags: []
|
loki_tags: []
|
||||||
|
|
||||||
loki_listen_address: '127.0.0.1'
|
loki_listen_address: 127.0.0.1
|
||||||
loki_listen_port: '3100'
|
loki_listen_port: 3100
|
||||||
|
|
||||||
loki_binary_local_dir: ''
|
loki_binary_local_dir: ''
|
||||||
|
|
||||||
|
@ -70,13 +70,11 @@
|
|||||||
|
|
||||||
- name: create systemd service unit
|
- name: create systemd service unit
|
||||||
template:
|
template:
|
||||||
src: loki.service.j2
|
src: "{{ item }}.service.j2"
|
||||||
dest: /etc/systemd/system/loki.service
|
dest: "/etc/systemd/system/{{ item }}.service"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0644
|
mode: 0644
|
||||||
notify:
|
notify: "restart {{ item }}"
|
||||||
- restart loki
|
|
||||||
loop: "{{ loki_bins }}"
|
loop: "{{ loki_bins }}"
|
||||||
when:
|
when: item == 'loki' or item == 'promtail'
|
||||||
- item == 'loki'
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
# - include: preflight.yml
|
- include: preflight.yml
|
||||||
|
|
||||||
# - include: install.yml
|
- include: install.yml
|
||||||
# become: true
|
become: true
|
||||||
|
|
||||||
- include: configure.yml
|
- include: configure.yml
|
||||||
become: true
|
become: true
|
||||||
|
Loading…
Reference in New Issue
Block a user