add: event substitution map & actions dispatcher config

This commit is contained in:
2024-11-15 10:56:25 +00:00
parent 40d1d1b427
commit 03809b530c
3 changed files with 54 additions and 0 deletions

View File

@@ -110,6 +110,7 @@
dest: "/data/atlantis-status/services/"
with_items:
- "atlantis-array"
- "service-dispatcher-config"
- name: Create compose directories
file:

View File

@@ -0,0 +1,19 @@
prometheus: "vnet0:"
paperless: "vnet1:"
usermanagement: "vnet2:"
git: "vnet3:"
harbor-registry: "vnet4:"
irc-new: "vnet5:"
backup: "vnet6:"
ths: "vnet7:"
signal: "vnet8:"
zabbix: "vnet9:"
kathi: "vnet10:"
vpn: "vnet11:"
timetracking: "vnet12:"
monitoring: "vnet13:"
mail: "vnet14:"
nextcloud-athq: "vnet15:"
steam-master: "vnet16:"
kube1: "vnet20:"
nextcloud-s3-oidc: "vnet22:"

View File

@@ -0,0 +1,34 @@
name: Dispatcher Downtime
hook_operations:
- 5_minutes_downtime:
location:
url:
- https://dispatcher.atlantishq.de/downtime
method: "POST"
args:
token: "{{ notification_settings_access_token }}"
minutes: 5
client: false
- 30_minutes_downtime:
location:
url:
- https://dispatcher.atlantishq.de/downtime
method: "POST"
args:
token: "{{ notification_settings_access_token }}"
minutes: 30
status_url: https://dispatcher.atlantishq.de/downtime
client: false
- 24_hours_downtime:
location:
url:
- https://dispatcher.atlantishq.de/downtime
method: "POST"
args:
token: "{{ notification_settings_access_token }}"
minutes: 720
client: false
groups:
- pki