App PHP (php8.4-fpm) + nginx local, exposée par l'edge (auto-dérivé). Config par fichiers .ini (config/resources/authentication/roles + module icingadb), pas d'assistant. Base IcingaDB via resoudre_base. Auth LDAP direct (client_pki sur sup-01) — pas d'OIDC natif (SSO-proxy = raffinement). Prouvé : testmail (LDAP) se connecte (/dashboard), module IcingaDB affiche la supervision (hôte icinga). Déploiement failed=0 (frictions dans le simulateur curl, pas le rôle). Reste : module BPM. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
45 lines
1.9 KiB
YAML
45 lines
1.9 KiB
YAML
---
|
|
# Icinga Web 2 (UI native Icinga) + module IcingaDB, sur le nœud de supervision.
|
|
# App PHP servie par nginx local + php-fpm ; l'edge nginx proxifie par nom.
|
|
# Auth LDAP direct (OpenLDAP) — icingaweb2 n'a pas d'OIDC natif ; SSO via proxy = raffinement.
|
|
serveur_icingaweb2_paquets:
|
|
- icingadb-web # module IcingaDB (tire icingaweb2 en dépendance)
|
|
- php8.4-fpm
|
|
- php8.4-cli
|
|
- php8.4-pgsql
|
|
- php8.4-ldap
|
|
- php8.4-intl
|
|
- php8.4-gd
|
|
- php8.4-curl
|
|
- php8.4-xml
|
|
- php8.4-mbstring
|
|
- nginx
|
|
|
|
serveur_icingaweb2_php_fpm_service: "php8.4-fpm"
|
|
serveur_icingaweb2_php_fpm_socket: "/run/php/php8.4-fpm.sock"
|
|
serveur_icingaweb2_nginx_service: "nginx"
|
|
|
|
# Publication : nginx LOCAL sur ce port ; l'edge proxifie icinga.<domaine> ici.
|
|
serveur_icingaweb2_hostname: "icinga.{{ domaine_interne }}"
|
|
serveur_icingaweb2_http_port: 8080
|
|
serveur_icingaweb2_docroot: "/usr/share/icingaweb2/public"
|
|
serveur_icingaweb2_config_dir: "/etc/icingaweb2"
|
|
|
|
# Base IcingaDB (via le registre — même consommateur que le moteur).
|
|
serveur_icingaweb2_icinga_groupe: "serveur_icinga"
|
|
# Redis IcingaDB (local au nœud de supervision).
|
|
serveur_icingaweb2_redis_host: "127.0.0.1"
|
|
serveur_icingaweb2_redis_port: 6380
|
|
|
|
# Authentification LDAP (OpenLDAP, LDAPS via la confiance step_ca / client_pki).
|
|
serveur_icingaweb2_ldap_url: "ldaps://id-ldap-01.{{ domaine_interne }}"
|
|
serveur_icingaweb2_ldap_port: 636
|
|
serveur_icingaweb2_ldap_base: "dc={{ domaine_interne.split('.') | join(',dc=') }}"
|
|
serveur_icingaweb2_ldap_users_dn: "ou=people,dc={{ domaine_interne.split('.') | join(',dc=') }}"
|
|
serveur_icingaweb2_ldap_bind_dn: "cn=admin,dc={{ domaine_interne.split('.') | join(',dc=') }}"
|
|
serveur_icingaweb2_ldap_bind_password: "{{ vault_openldap_admin | default('') }}"
|
|
serveur_icingaweb2_ldap_user_class: "inetOrgPerson"
|
|
serveur_icingaweb2_ldap_user_attr: "uid"
|
|
|
|
# Qui reçoit le rôle Administrateur (liste d'uid séparés par des virgules).
|
|
serveur_icingaweb2_admins: "testmail"
|