Skip to content
Snippets Groups Projects
main.yml 423 B
Newer Older
  • Learn to ignore specific revisions
  • ---
    # file: roles/elastalert/tasks/main.yml
    
    - name: "ElastAlert Role"
      set_fact: role_elastalert_started=true
    
        with_nested:
          - '{{groups["webserver-drupal"]}}'
          - ['rule.drupal.syslog', 'rule.drupal.apache']
        loop_control:
          loop_var: drupal_host
    
      when: '"elastalert" not in excluded_roles'