mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 05:38:34 +01:00
add: smtp/mail configuration keycloak master realm
This commit is contained in:
@@ -7,6 +7,10 @@ nsca_password: HISTORY_PURGED_SECRET
|
|||||||
RSYSLOG_SERVER: internal.monitoring.atlantishq.de
|
RSYSLOG_SERVER: internal.monitoring.atlantishq.de
|
||||||
influxdb_telegraf_password: HISTORY_PURGED_SECRET
|
influxdb_telegraf_password: HISTORY_PURGED_SECRET
|
||||||
|
|
||||||
|
smtp_internal_host: 192.168.122.101
|
||||||
|
smtp_service_user: noreply
|
||||||
|
smtp_service_pass: HISTORY_PURGED_SECRET
|
||||||
|
|
||||||
# overwritten in monitoring master group var
|
# overwritten in monitoring master group var
|
||||||
monitoring_master: false
|
monitoring_master: false
|
||||||
|
|
||||||
|
|||||||
@@ -43,6 +43,7 @@
|
|||||||
until: result.status and result.json.status == "UP"
|
until: result.status and result.json.status == "UP"
|
||||||
retries: 10
|
retries: 10
|
||||||
delay: 20
|
delay: 20
|
||||||
|
check_mode: false
|
||||||
|
|
||||||
- name: Create Keycloak Clients
|
- name: Create Keycloak Clients
|
||||||
local_action:
|
local_action:
|
||||||
@@ -69,3 +70,26 @@
|
|||||||
frontchannel_logout: False
|
frontchannel_logout: False
|
||||||
protocol: openid-connect
|
protocol: openid-connect
|
||||||
with_items: "{{ keycloak_clients.keys() | list }}"
|
with_items: "{{ keycloak_clients.keys() | list }}"
|
||||||
|
|
||||||
|
- name: Update master realm settings
|
||||||
|
community.general.keycloak_realm:
|
||||||
|
auth_client_id: admin-cli
|
||||||
|
auth_keycloak_url: https://keycloak.atlantishq.de/
|
||||||
|
auth_realm: master
|
||||||
|
auth_username: admin
|
||||||
|
auth_password: "{{ keycloak_admin_password }}"
|
||||||
|
state: present
|
||||||
|
realm: master
|
||||||
|
smtpServer :
|
||||||
|
password : "{{ smtp_service_pass }}"
|
||||||
|
replyToDisplayName: ""
|
||||||
|
starttls: "false"
|
||||||
|
auth: "true"
|
||||||
|
replyTo: ""
|
||||||
|
envelopeFrom: ""
|
||||||
|
from: "{{ smtp_service_user }}@atlantishq.de"
|
||||||
|
fromDisplayName: ""
|
||||||
|
host: "{{ smtp_internal_host }}"
|
||||||
|
port: "25"
|
||||||
|
ssl: "false"
|
||||||
|
user: "{{ smtp_service_user }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user