ericsysmin.chrony

ericsysmin.chrony

This role allows users to easily install and set up chrony on their machines.

Build Status

Build Status

Requirements

No special requirements.

Role Variables

Variable Required Default Description
chrony_pkg_state No present Set the package status to enabled, disabled, or latest.
chrony_service_state No started Set the service status to started, enabled, or disabled.
chrony_service_enabled No yes Whether the chrony service should start on boot.
chrony_config_server No ["0.pool.ntp.org","1.pool.ntp.org","2.pool.ntp.org", "3.pool.ntp.org"] List of NTP servers to use.
chrony_config_logdir No /var/log/chrony Location for chrony log files.
chrony_config_extra_options No {} Additional configuration options.

Examples

  1. To install chrony with default settings:
- hosts: all
  roles:
    - role: ericsysmin.chrony
  1. To install chrony with your own NTP servers:
- hosts: all
  roles:
    - role: ericsysmin.chrony
      chrony_config_server:
        - 0.pool.ntp.org
        - 2.pool.ntp.org

License

MIT License

Author Information

ericsysmin

Informazioni sul progetto

This role enables users to install and configure chrony on their hosts.

Installa
ansible-galaxy install ericsysmin.chrony
Licenza
mit
Download
134.1k
Proprietario
Senior MTS