|
|
|
|
@ -17,6 +17,18 @@ default_plattform_users:
|
|
|
|
|
|
|
|
|
|
# TODO read configuration with hetzner rest api
|
|
|
|
|
shared_service_network: "10.1.0.0/16"
|
|
|
|
|
shared_service_pg_master_ip: "{{ stage_server_infos
|
|
|
|
|
| selectattr('name', 'match', stage + '-postgres-01' )
|
|
|
|
|
| map(attribute='private_ip')
|
|
|
|
|
| list
|
|
|
|
|
| first
|
|
|
|
|
| default('-') }}"
|
|
|
|
|
shared_service_keycloak_ip: "{{ stage_server_infos
|
|
|
|
|
| selectattr('name', 'match', stage + '-keycloak-01' )
|
|
|
|
|
| map(attribute='private_ip')
|
|
|
|
|
| list
|
|
|
|
|
| first
|
|
|
|
|
| default('-') }}"
|
|
|
|
|
shared_service_kube_cpl_01: "{{ stage_server_infos
|
|
|
|
|
| selectattr('name', 'match', stage + '-kube-cpl-01' )
|
|
|
|
|
| map(attribute='private_ip')
|
|
|
|
|
@ -55,6 +67,11 @@ shared_service_kube_node_03: "{{ stage_server_infos
|
|
|
|
|
| default('-') }}"
|
|
|
|
|
|
|
|
|
|
shared_service_kube_ip: "{{ stage_private_ingress_loadbalancer_ip | default('-') }}"
|
|
|
|
|
shared_service_postgres_01_hostname: "{{ stage }}-postgres-01"
|
|
|
|
|
shared_service_keycloak_hostname: "{{ stage }}-keycloak-01.{{ domain }}"
|
|
|
|
|
# following server does not exist
|
|
|
|
|
# but needs to be set for configuring keycloak realms ... crap
|
|
|
|
|
shared_service_mail_hostname: "{{ stage }}-mail-01.{{ domain }}"
|
|
|
|
|
|
|
|
|
|
kube_cpl_01_hostname: "{{ stage }}-kube-cpl-01.{{ domain }}"
|
|
|
|
|
kube_cpl_02_hostname: "{{ stage }}-kube-cpl-02.{{ domain }}"
|
|
|
|
|
@ -72,6 +89,10 @@ shared_service_hosts: [
|
|
|
|
|
ip: "127.0.1.1",
|
|
|
|
|
name: "{{ inventory_hostname }}"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
ip: "{{ shared_service_pg_master_ip }}",
|
|
|
|
|
name: "{{ shared_service_postgres_01_hostname }}"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
ip: "{{ shared_service_kube_cpl_01 }}",
|
|
|
|
|
name: "{{ kube_cpl_01_hostname }}"
|
|
|
|
|
@ -108,6 +129,10 @@ shared_service_hosts: [
|
|
|
|
|
ip: "{{ shared_service_kube_ip }}",
|
|
|
|
|
name: "{{ shared_service_kube_harbor_hostname }}"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
ip: "{{ shared_service_keycloak_ip }}",
|
|
|
|
|
name: "{{ shared_service_keycloak_hostname }}"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
netgo_msteams_hook_cd: "{{ netgo_msteams_hook_cd_vault }}"
|
|
|
|
|
|