From 41e4f237ccb55bc09542a70352c1e5be8ff93de5 Mon Sep 17 00:00:00 2001 From: Wilfried OLLIVIER Date: Fri, 3 Apr 2020 11:32:49 +0200 Subject: [PATCH] Fix: Harmonize files by adding new line if nedded --- defaults/main.yml | 2 +- handlers/main.yml | 2 +- meta/main.yml | 2 +- tasks/main.yml | 1 - templates/inputs/input.base.conf.j2 | 2 +- templates/inputs/input.docker.conf.j2 | 2 +- templates/telegraf.conf.orig | 1 - tests/test.yml | 2 +- vars/main.yml | 2 +- 9 files changed, 7 insertions(+), 9 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 7831bae..313ec1f 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -6,4 +6,4 @@ db_pass: not24get influx_host: localhost influx_proto: http -influx_port: 8086 \ No newline at end of file +influx_port: 8086 diff --git a/handlers/main.yml b/handlers/main.yml index 62f6f7e..34e6392 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -3,4 +3,4 @@ - name: reload telegraf systemd: name: telegraf - state: restarted \ No newline at end of file + state: restarted diff --git a/meta/main.yml b/meta/main.yml index 72d87af..a7e7d9b 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -18,4 +18,4 @@ galaxy_info: - debian - timeseries -dependencies: [] \ No newline at end of file +dependencies: [] diff --git a/tasks/main.yml b/tasks/main.yml index b662d89..31cfdc6 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -58,4 +58,3 @@ groups=docker append=yes when: "'docker' in services" - diff --git a/templates/inputs/input.base.conf.j2 b/templates/inputs/input.base.conf.j2 index 1bb330b..376a63b 100644 --- a/templates/inputs/input.base.conf.j2 +++ b/templates/inputs/input.base.conf.j2 @@ -77,4 +77,4 @@ # Read metrics about system load & uptime [[inputs.system]] ## Uncomment to remove deprecated metrics. - # fielddrop = ["uptime_format"] \ No newline at end of file + # fielddrop = ["uptime_format"] diff --git a/templates/inputs/input.docker.conf.j2 b/templates/inputs/input.docker.conf.j2 index 6084766..2021bd5 100644 --- a/templates/inputs/input.docker.conf.j2 +++ b/templates/inputs/input.docker.conf.j2 @@ -51,4 +51,4 @@ # tls_cert = "/etc/telegraf/cert.pem" # tls_key = "/etc/telegraf/key.pem" ## Use TLS but skip chain & host verification - # insecure_skip_verify = false \ No newline at end of file + # insecure_skip_verify = false diff --git a/templates/telegraf.conf.orig b/templates/telegraf.conf.orig index 7282be1..4a7cc6c 100644 --- a/templates/telegraf.conf.orig +++ b/templates/telegraf.conf.orig @@ -5641,4 +5641,3 @@ # [[inputs.zipkin]] # # path = "/api/v1/spans" # URL path for span data # # port = 9411 # Port on which Telegraf listens - diff --git a/tests/test.yml b/tests/test.yml index 5d53834..02df5e3 100644 --- a/tests/test.yml +++ b/tests/test.yml @@ -2,4 +2,4 @@ - hosts: galaxy-vagrant.example.com remote_user: root roles: - - role: ../galaxy-telegraf \ No newline at end of file + - role: ../galaxy-telegraf diff --git a/vars/main.yml b/vars/main.yml index e80d0e7..6269e93 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,4 +1,4 @@ --- influx: - repo: https://repos.influxdata.com/influxdb.key \ No newline at end of file + repo: https://repos.influxdata.com/influxdb.key