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