test: fix syntax for ansible lint
All checks were successful
/ lint (push) Successful in 8s
/ molecule (push) Successful in 3m39s

This commit is contained in:
Adrien Waksberg 2024-05-09 15:17:57 +02:00
parent fdac11c54d
commit 634ac45cd8
2 changed files with 8 additions and 3 deletions

View file

@ -23,7 +23,8 @@ logstash_logging_default_config:
appender.rolling.policies.time.interval: "1"
appender.rolling.policies.time.modulate: true
appender.rolling.layout.type: "PatternLayout"
appender.rolling.layout.pattern: "[%d{ISO8601}][%-5p][%-25c]%notEmpty{[%X{pipeline.id}]}%notEmpty{[%X{plugin.id}]} %m%n"
appender.rolling.layout.pattern: >-
"[%d{ISO8601}][%-5p][%-25c]%notEmpty{[%X{pipeline.id}]}%notEmpty{[%X{plugin.id}]} %m%n"
appender.rolling.policies.size.type: "SizeBasedTriggeringPolicy"
appender.rolling.policies.size.size: "100MB"
appender.rolling.strategy.type: "DefaultRolloverStrategy"
@ -75,7 +76,8 @@ logstash_logging_default_config:
appender.deprecation_rolling.policies.time.interval: "1"
appender.deprecation_rolling.policies.time.modulate: true
appender.deprecation_rolling.layout.type: "PatternLayout"
appender.deprecation_rolling.layout.pattern: "[%d{ISO8601}][%-5p][%-25c]%notEmpty{[%X{pipeline.id}]}%notEmpty{[%X{plugin.id}]} %m%n"
appender.deprecation_rolling.layout.pattern: >-
"[%d{ISO8601}][%-5p][%-25c]%notEmpty{[%X{pipeline.id}]}%notEmpty{[%X{plugin.id}]} %m%n"
appender.deprecation_rolling.policies.size.type: "SizeBasedTriggeringPolicy"
appender.deprecation_rolling.policies.size.size: "100MB"
appender.deprecation_rolling.strategy.type: "DefaultRolloverStrategy"

View file

@ -11,12 +11,15 @@
ansible.builtin.get_url:
url: https://artifacts.elastic.co/GPG-KEY-elasticsearch
dest: /etc/apt/keyrings/elastic.asc
owner: root
group: root
mode: 0644
checksum: sha256:db52809c5f6b27f9c2bed45cb43e398c659275f3d35305653c6750a0db90f5eb
tags: logstash
- name: Add repository
ansible.builtin.apt_repository:
repo: >
repo: >-
deb [signed-by=/etc/apt/keyrings/elastic.asc]
https://artifacts.elastic.co/packages/{{ logstash_major_version }}.x/apt stable main
filename: elastic