mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-06 12:41:36 +01:00
feat: new smart-send event gate
This commit is contained in:
@@ -12,6 +12,10 @@ icinga_api_pass: "HISTORY_PURGED_SECRET"
|
|||||||
icinga_api_url: "https://192.168.122.107:5665"
|
icinga_api_url: "https://192.168.122.107:5665"
|
||||||
icinga_web_url: "https://icinga.atlantishq.de/"
|
icinga_web_url: "https://icinga.atlantishq.de/"
|
||||||
|
|
||||||
|
event_dispatcher_address: https://dispatcher.atlantishq.de
|
||||||
|
event_dispatcher_user: dispatch
|
||||||
|
event_dispatcher_pass: HISTORY_PURGED_SECRET
|
||||||
|
|
||||||
ldap_password: flanigan
|
ldap_password: flanigan
|
||||||
ldap_dc: "atlantishq"
|
ldap_dc: "atlantishq"
|
||||||
ldap_org: "atlantishq de"
|
ldap_org: "atlantishq de"
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
event-dispatcher:
|
event-dispatcher:
|
||||||
ports:
|
ports:
|
||||||
- 5007:5000
|
- 5007:5000
|
||||||
image: registry.atlantishq.de/event-dispatcher
|
image: registry.atlantishq.de/athq/event-dispatcher
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- "/data/event-dispatcher/instance/":"/app/instance/"
|
- "/data/event-dispatcher/instance/:/app/instance/"
|
||||||
environment:
|
environment:
|
||||||
LDAP_SERVER : "{{ ldap_connection_url_ext }}"
|
SIGNAL_API_PASS: "{{ event_dispatcher_pass }}"
|
||||||
|
LDAP_SERVER : "{{ ldap_connection_url }}"
|
||||||
LDAP_BIND_DN : "{{ ldap_bind_dn }}"
|
LDAP_BIND_DN : "{{ ldap_bind_dn }}"
|
||||||
LDAP_BIND_PW : "{{ ldap_password }}"
|
LDAP_BIND_PW : "{{ ldap_password }}"
|
||||||
LDAP_BASE_DN : "{{ ldap_user_dn }}"
|
LDAP_BASE_DN : "{{ ldap_user_dn }}"
|
||||||
@@ -179,3 +179,11 @@
|
|||||||
- config.ini
|
- config.ini
|
||||||
- authentication.ini
|
- authentication.ini
|
||||||
- groups.ini
|
- groups.ini
|
||||||
|
|
||||||
|
- name: Template dispatcher gateway passfile
|
||||||
|
template:
|
||||||
|
src: dispatcher-pass-file.txt
|
||||||
|
dest: /etc/icinga2/dispatcher-pass-file.txt
|
||||||
|
mode: 0660
|
||||||
|
owner: root
|
||||||
|
group: nagios
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
{{ event_dispatcher_user }}
|
||||||
|
{{ event_dispatcher_pass }}
|
||||||
@@ -135,3 +135,11 @@
|
|||||||
- serien-ampel
|
- serien-ampel
|
||||||
- simple-log-server
|
- simple-log-server
|
||||||
- soundlib-interface
|
- soundlib-interface
|
||||||
|
|
||||||
|
- name: event poller cronjob
|
||||||
|
cron:
|
||||||
|
user: sheppy
|
||||||
|
hour: "*"
|
||||||
|
minute: "*"
|
||||||
|
name: Poll Notifications from Dispatch (signal)
|
||||||
|
job: "/home/sheppy/signal-http-gateway/signal-query-dispatch.py --target {{ event_dispatcher_address }} --user {{ event_dispatcher_user }} --password {{ event_dispatcher_pass }} --signal-cli-bin /home/sheppy/signal-cli/bin/signal-cli"
|
||||||
|
|||||||
Reference in New Issue
Block a user