Variable d'identite d'instance domaine_interne (group_vars/all.yml). Les
13 roles qui codaient chezlepro.internal en dur utilisent {{ domaine_interne }} ;
base_dn LDAP et domaine court derives (dc=acme,dc=local pour un autre loup).
Comportement identique pour Chezlepro (domaine_interne: chezlepro.internal),
mais le moteur devient generique -- premiere brique pour partager l'outil
a la meute. Ajout exemples/instance.exemple.yml.
Non destructif : diff de generation vide, ansible-lint 0 echec, base_dn
derive == ancien code en dur (verifie).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
12 lines
385 B
YAML
12 lines
385 B
YAML
---
|
|
# Relais mail local leger (msmtp) vers serveur_sendmail.
|
|
client_smtp_paquets:
|
|
- msmtp
|
|
- msmtp-mta # fournit /usr/sbin/sendmail
|
|
|
|
client_smtp_relais: "infra-mail-01.{{ domaine_interne }}"
|
|
client_smtp_port: 25
|
|
client_smtp_from: "{{ ansible_hostname }}@{{ domaine_interne }}"
|
|
|
|
# TLS : off sur le reseau interne pour l'instant ; on avec certificats step_ca.
|
|
client_smtp_tls: false
|