ISU-Ansible.chrony

Chrony

Build Status

This role is designed to install and set up the chronyd service on an Enterprise Linux system. It works on EL 6, EL 7, and Fedora.

By default, it uses the settings from the chrony_defaults variable found in vars/{{ansible_distribution}}.yml. If you have a similar entry in the chrony variable, it will replace the entry in chrony_defaults. Any variable named chrony_ will take priority over chrony[key] and chrony_defaults[key].

Requirements

There are no requirements.

Role Variables

  • chrony: a key/value store for the chrony configuration.

Do not change other variables unless you know what you’re doing.

Defaults

chrony_configuration_file: /etc/chrony.conf
chrony_config_owner: chrony
chrony_config_group: chrony
chrony_config_mode: 0644
chrony_service: chronyd

chrony:
  servers:
    - "0.pool.ntp.org pool offline"
    - "1.pool.ntp.org pool offline"
    - "2.pool.ntp.org pool offline"
    - "3.pool.ntp.org pool offline"
  makestep_offset: 10
  makestep_updates: 3
  driftfile: /var/lib/chrony/drift
  stratumweight: "0"
  rtcsync: true
  keyfile: /etc/chrony.keys
  logchange: "0.5"
  logdir: "/var/log/chrony"

Dependencies

There are no dependencies.

Example Playbook

- hosts: systems
  roles:
     - { role: ISU-Ansible.chrony }

License

GPL2

Author Information

Informazioni sul progetto

A customizable role for using chronyd

Installa
ansible-galaxy install ISU-Ansible.chrony
Licenza
gpl-2.0
Download
611
Proprietario