๐Ÿ“— Ansible playbooks and roles for building an idempotent, interconnected and scalable infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-playbooks/roles/ntp/defaults/main.yml

38 lines
811 B

2 years ago
ntp_user: chrony
ntp_group: chrony
ntp_data_dir: /opt/chrony
ntp_conf_dir: /etc/chrony
ntp_tls_dir: "{{ ntp_conf_dir }}/tls"
ntp_pool: ru.pool.ntp.org
ntp_default_config:
user: "{{ ntp_user }}"
pool: "{{ ntp_pool }} iburst minpoll 6 maxpoll 8 polltarget 4 maxsources 7 burst"
minsources: 2
combinelimit: 6
authselectmode: ignore
ntsservercert:
- "{{ ntp_tls_dir }}/ecc384.crt"
- "{{ ntp_tls_dir }}/rsa2048.crt"
ntsserverkey:
- "{{ ntp_tls_dir }}/ecc384.key"
- "{{ ntp_tls_dir }}/rsa2048.key"
maxntsconnections: 15
ratelimit: "interval 1 burst 8"
ntsratelimit: "interval 3 burst 6"
allow:
- "{{ int_net }}"
- 127.0.0.0/8
dscp: 46
local: stratum 4
ntsdumpdir: "{{ ntp_data_dir }}"
dumpdir: "{{ ntp_data_dir }}"
driftfile: "{{ ntp_data_dir }}/drift"