mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-06 11:01:36 +01:00
add: event substitution map & actions dispatcher config
This commit is contained in:
@@ -110,6 +110,7 @@
|
||||
dest: "/data/atlantis-status/services/"
|
||||
with_items:
|
||||
- "atlantis-array"
|
||||
- "service-dispatcher-config"
|
||||
|
||||
- name: Create compose directories
|
||||
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:"
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user