test: fix syntax for ansible lint
This commit is contained in:
parent
fdac11c54d
commit
634ac45cd8
2 changed files with 8 additions and 3 deletions
|
@ -23,7 +23,8 @@ logstash_logging_default_config:
|
||||||
appender.rolling.policies.time.interval: "1"
|
appender.rolling.policies.time.interval: "1"
|
||||||
appender.rolling.policies.time.modulate: true
|
appender.rolling.policies.time.modulate: true
|
||||||
appender.rolling.layout.type: "PatternLayout"
|
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.type: "SizeBasedTriggeringPolicy"
|
||||||
appender.rolling.policies.size.size: "100MB"
|
appender.rolling.policies.size.size: "100MB"
|
||||||
appender.rolling.strategy.type: "DefaultRolloverStrategy"
|
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.interval: "1"
|
||||||
appender.deprecation_rolling.policies.time.modulate: true
|
appender.deprecation_rolling.policies.time.modulate: true
|
||||||
appender.deprecation_rolling.layout.type: "PatternLayout"
|
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.type: "SizeBasedTriggeringPolicy"
|
||||||
appender.deprecation_rolling.policies.size.size: "100MB"
|
appender.deprecation_rolling.policies.size.size: "100MB"
|
||||||
appender.deprecation_rolling.strategy.type: "DefaultRolloverStrategy"
|
appender.deprecation_rolling.strategy.type: "DefaultRolloverStrategy"
|
||||||
|
|
|
@ -11,12 +11,15 @@
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
url: https://artifacts.elastic.co/GPG-KEY-elasticsearch
|
url: https://artifacts.elastic.co/GPG-KEY-elasticsearch
|
||||||
dest: /etc/apt/keyrings/elastic.asc
|
dest: /etc/apt/keyrings/elastic.asc
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: 0644
|
||||||
checksum: sha256:db52809c5f6b27f9c2bed45cb43e398c659275f3d35305653c6750a0db90f5eb
|
checksum: sha256:db52809c5f6b27f9c2bed45cb43e398c659275f3d35305653c6750a0db90f5eb
|
||||||
tags: logstash
|
tags: logstash
|
||||||
|
|
||||||
- name: Add repository
|
- name: Add repository
|
||||||
ansible.builtin.apt_repository:
|
ansible.builtin.apt_repository:
|
||||||
repo: >
|
repo: >-
|
||||||
deb [signed-by=/etc/apt/keyrings/elastic.asc]
|
deb [signed-by=/etc/apt/keyrings/elastic.asc]
|
||||||
https://artifacts.elastic.co/packages/{{ logstash_major_version }}.x/apt stable main
|
https://artifacts.elastic.co/packages/{{ logstash_major_version }}.x/apt stable main
|
||||||
filename: elastic
|
filename: elastic
|
||||||
|
|
Loading…
Reference in a new issue