diff --git a/tasks/alerta.yml b/tasks/alerta.yml index 7a30f50cdae1d0d6771a46c10c3293cf9aae51ee..8547c43214940208ef190020fa5ae53794c68c24 100644 --- a/tasks/alerta.yml +++ b/tasks/alerta.yml @@ -117,7 +117,7 @@ - name: Copy plugins template: - src: {{ item }}/plugin.py + src: '{{ item }}/plugin.py' dest: /tmp/alerta_{{ item }}.py with_items: - elastalert @@ -127,7 +127,7 @@ - name: Copy plugin setups template: - src: {{ item }}/setup.py + src: '{{ item }}/setup.py' dest: /tmp/setup_alerta_{{ item }}.py with_items: - elastalert diff --git a/templates/alertad.conf b/templates/alertad.conf index a2c345e7f6ed14e4918df8bdba8f31534d800532..fafcda8f105914b0692bbc369fdd801be2b5bb17 100644 --- a/templates/alertad.conf +++ b/templates/alertad.conf @@ -12,7 +12,7 @@ OAUTH2_CLIENT_SECRET='{{ alerta_gitlab.client_secret }}' ALLOWED_GITLAB_GROUPS=['{{ alerta_environments|join("','") }}'] # Plugins -PLUGINS=['reject','gitlab'] +PLUGINS=['reject','gitlab','elastalert'] ORIGIN_BLACKLIST=[] ALLOWED_ENVIRONMENTS=['{{ alerta_environments|join("','") }}'] ACTIONS = ['createIssue']