Fix meta file

This commit is contained in:
Werner Dijkerman
2018-11-19 20:20:49 +01:00
parent f74ff634a7
commit 3cccb6ba50
3 changed files with 30 additions and 2 deletions

View File

@ -15,6 +15,7 @@ galaxy_info:
- name: Debian - name: Debian
versions: versions:
- all - all
categories: galaxy_tags:
- monitoring - monitoring
dependencies: [] dependencies: []

View File

@ -25,6 +25,33 @@ provisioner:
name: ansible name: ansible
lint: lint:
name: ansible-lint name: ansible-lint
inventory:
group_vars:
all:
telegraf_plugins_default:
- plugin: cpu
config:
- percpu = true
- plugin: disk
- plugin: io
- plugin: mem
- plugin: net
- plugin: system
- plugin: swap
- plugin: netstat
- plugin: processes
- plugin: kernel
- plugin: nginx
config:
- urls = ["http://localhost/nginx_status"]
- plugin: logparser
config:
- files = ["/var/log/nginx/access.log"]
- from_beginning = true
- name_override = "nginx_access_log"
- \[logparser.grok\]
- patterns = ["%{COMBINED_LOG_FORMAT}"]
scenario: scenario:
name: default name: default
verifier: verifier:

View File

@ -6,7 +6,7 @@
{% endif %} {% endif %}
{% if item.value.config is defined and item.value.config is iterable %} {% if item.value.config is defined and item.value.config is iterable %}
{% for items in item.value.config %} {% for items in item.value.config %}
{{ items }} {% raw %}{{ items }}{% endraw %}}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if item.value.tags is defined and item.value.tags is iterable %} {% if item.value.tags is defined and item.value.tags is iterable %}