Skip to content
Snippets Groups Projects
Commit 478c152a authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#85 Linting

parent 5704e7af
No related branches found
No related tags found
No related merge requests found
---
elastalert_defaults:
drupal:
syslog:
query: @log_name:"syslog.local0.err" OR @log_name:"syslog.local0.crit" OR @log_name:"syslog.local0.alert" OR @log_name:"syslog.local0.emerg"
query: '@log_name:"syslog.local0.err" OR @log_name:"syslog.local0.crit" OR @log_name:"syslog.local0.alert" OR @log_name:"syslog.local0.emerg"'
extra: []
apache:
query:
access: code:[500 TO 599]
error: level:"*error"
access: 'code:[500 TO 599]'
error: 'level:"*error"'
extra: []
elastalerts: []
......@@ -9,16 +9,16 @@
- block:
- import_tasks: install.yml
- import_tasks: install.yml
- import_tasks: rules.yml
- import_tasks: rules.yml
- include_tasks: rules.drupal.yml
with_nested:
- '{{ groups["webserver_drupal"] }}'
- ['rule.drupal.syslog', 'rule.drupal.apache']
loop_control:
loop_var: drupal_host
- include_tasks: rules.drupal.yml
with_nested:
- '{{ groups["webserver_drupal"] }}'
- ['rule.drupal.syslog', 'rule.drupal.apache']
loop_control:
loop_var: drupal_host
#when: not excluded_roles or "elastalert" not in excluded_roles
# when: not excluded_roles or "elastalert" not in excluded_roles
when: no
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment