NTP client/server, prepare slapd

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
2021-04-29 15:12:28 +02:00
parent 7f39ea724a
commit 1115f7d0a8
20 changed files with 411 additions and 1 deletions

3
group_vars/all/ntp.yml Normal file
View File

@ -0,0 +1,3 @@
glob_ntp_client:
servers:
- ntp.crans.org

7
group_vars/slapd.yml Normal file
View File

@ -0,0 +1,7 @@
---
glob_slapd:
master_ip: "{{ query('ldap', 'ip', 'tealc', 'adm') | ipv4 | first }}"
regex: "^(role:(dhcp|dns|dns-primary|dns-secondary|ftp|gitlab|miroir|ntp|pve|radius|backup)|ecdsa-sha2-nistp256:.*|ssh-(ed25519|dss|rsa):.*)$"
replication_credentials: "{{ vault.ldap_replication_credentials }}"
private_key: "{{ vault.ldap_private_key }}"
certificate: "{{ vault.ldap_certificate }}"