Skip to content
Snippets Groups Projects
main.yml 478 B
Newer Older
  • Learn to ignore specific revisions
  • ---
    # file: roles/elastalert/tasks/main.yml
    
    
    - name: ElastAlert Role
      set_fact:
        role_elastalert_started: yes
      tags:
        - always
    
        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