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

View File

@ -2,6 +2,7 @@
---
- import_playbook: apt.yml
- import_playbook: ntp.yml
- hosts: all
roles:
@ -20,7 +21,7 @@
- sudo
- systemd
- pacman
- ntp
- ntp-client-arch
- texlive
- xorg
- i3

13
plays/ntp.yml Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env ansible-playbook
---
- hosts: ntp_server
vars:
ntp_server: '{{ glob_ntp_server | combine(loc_ntp_server | default({})) }}'
roles:
- ntp-server
- hosts: debian
vars:
ntp_client: '{{ glob_ntp_client | combine(loc_ntp_client | default({})) }}'
roles:
- ntp-client