Skip to content
Snippets Groups Projects
Commit 99643f70 authored by jurgenhaas's avatar jurgenhaas
Browse files

Update to version 6.0.0

parent 6f2879d3
No related branches found
No related tags found
No related merge requests found
alerta_ui_version: '6.0.0'
......@@ -29,12 +29,12 @@
- name: "Download and extract web UI"
unarchive:
src: 'https://github.com/alerta/angular-alerta-webui/archive/master.zip'
src: 'https://github.com/alerta/angular-alerta-webui/archive/v{{ alerta_ui_version }}.zip'
dest: '/tmp'
remote_src: yes
- name: "Move new web UI"
command: 'mv /tmp/angular-alerta-webui-master/app /var/www/alerta'
command: 'mv /tmp/angular-alerta-webui-{{ alerta_ui_version }}/app /var/www/alerta'
- name: "Copy wsgi.py"
template:
......@@ -67,8 +67,11 @@
- name: "Copy config.js"
template:
src: 'config.js'
dest: '/var/www/alerta/config.js'
src: '{{ item }}'
dest: '/var/www/alerta/{{ item }}'
with_items:
- 'config.js'
- 'config.json'
- name: "Copy alertad.conf"
template:
......@@ -88,7 +91,7 @@
minute: '{{ item.minute }}'
job: '{{ item.job }} >/dev/null 2>&1'
disabled: '{{ crons_disabled|default(false) }}'
items:
with_items:
- name: 'Heartbeats to Alert'
minute: '*/3'
job: '/usr/local/bin/alerta heartbeats --alert'
......
BASE_URL='/api'
BASE_URL='https://{{ alerta_domain }}/api'
AUTH_REQUIRED=True
AUTH_PROVIDER='gitlab'
SECRET_KEY='{{ alerta_secret_key }}'
ADMIN_USERS=['{{ alerta_admins|join("','") }}']
CUSTOMER_VIEWS=True
......
{"endpoint": "https://{{ alerta_domain }}/api"}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment