Cut the comment bloat from the Podman playbooks
Comment blocks now stay within three lines and explain only the non-obvious. Long histories, include examples, and commented-out code are gone. No task, key, or value changed; the only data change is comment text inside the generated unit files.
This commit is contained in:
1 parent
2aab1aec1e
commit
476a6d7cd0
85 files changed
+372
-2433
No files matched your search
@@ -25,9 +25,6 @@ query_range:
|
||||
enabled: true
|
||||
max_size_mb: 100
|
||||
|
||||
# limits_config:
|
||||
# metric_aggregation_enabled: truez
|
||||
|
||||
schema_config:
|
||||
configs:
|
||||
- from: 2020-10-24
|
||||
@@ -40,25 +37,9 @@ schema_config:
|
||||
|
||||
pattern_ingester:
|
||||
enabled: true
|
||||
# metric_aggregation:
|
||||
# enabled: true
|
||||
# loki_address: localhost:3100
|
||||
|
||||
ruler:
|
||||
alertmanager_url: http://localhost:9093
|
||||
|
||||
frontend:
|
||||
encoding: protobuf
|
||||
|
||||
# By default, Loki will send anonymous, but uniquely-identifiable usage and configuration
|
||||
# analytics to Grafana Labs. These statistics are sent to https://stats.grafana.org/
|
||||
#
|
||||
# Statistics help us better understand how Loki is used, and they show us performance
|
||||
# levels for most users. This helps us prioritize features and documentation.
|
||||
# For more information on what's sent, look at
|
||||
# https://github.com/grafana/loki/blob/main/pkg/analytics/stats.go
|
||||
# Refer to the buildReport method to see what goes into a report.
|
||||
#
|
||||
# If you would like to disable reporting, uncomment the following lines:
|
||||
#analytics:
|
||||
# reporting_enabled: false
|
||||
@@ -1,9 +1,6 @@
|
||||
---
|
||||
# The image is configured to run by default as user loki with UID 10001 and GID 10001.
|
||||
# You can use a different user, specially if you are using bind mounts, by specifying
|
||||
# the UID with a docker run command and using --user=UID with a numeric UID suited to your needs.
|
||||
# The image runs as UID and GID 10001, so the data directory must be owned by 10001.
|
||||
|
||||
# Tasks for Loki role
|
||||
- name: Pull Loki image
|
||||
docker_image:
|
||||
name: "{{ loki_image }}"
|
||||
@@ -18,14 +15,6 @@
|
||||
owner: "{{ loki_user }}"
|
||||
mode: 0755
|
||||
|
||||
# - name: Ensure Loki Config Directory exists
|
||||
# file:
|
||||
# path: "{{ loki_directory }}/config"
|
||||
# state: directory
|
||||
# group: "{{ loki_user }}"
|
||||
# owner: "{{ loki_user }}"
|
||||
# mode: 0755
|
||||
|
||||
- name: Copy the Loki conf file
|
||||
template:
|
||||
src: "files/loki-config.yaml"
|
||||
|
||||
@@ -21,26 +21,3 @@ promtail_image: grafana/promtail:latest
|
||||
promtail_directory: "{{ host_directory }}/promtail"
|
||||
promtail_user: "{{ loki_user }}"
|
||||
promtail_port: 9080
|
||||
|
||||
# mosquitto_container: mosquitto
|
||||
# mosquitto_image: eclipse-mosquitto:latest
|
||||
# mosquitto_directory: "{{ host_directory }}/mosquitto"
|
||||
# mosquitto_user: 'root'
|
||||
|
||||
# nodered_container: nodered
|
||||
# nodered_image: nodered/node-red:latest
|
||||
# nodered_directory: "{{ host_directory }}/nodered"
|
||||
# nodered_user: "{{ user }}"
|
||||
|
||||
# influx_container: influxtestplay
|
||||
# influx_image: influxdb:latest
|
||||
# influx_directory: "{{ host_directory }}/influxtestplaydir"
|
||||
# influx_user: "{{ user }}"
|
||||
|
||||
# grafana_container: grafana
|
||||
# grafana_image: grafana/grafana-enterprise:latest
|
||||
# grafana_directory: "{{ host_directory }}/grafana"
|
||||
# grafana_user: "{{ user }}"
|
||||
|
||||
# http_host: "iot.tanshu.com"
|
||||
# http_conf: "iot.tanshu.com.conf"
|
||||
Reference in new issue
Block a user