No description
Find a file
semantic-release-bot 01bd65513e chore(release): 1.11.0 [skip ci]
# [1.11.0](https://github.com/de-it-krachten/ansible-role-chrony/compare/v1.10.0...v1.11.0) (2026-04-03)

### Features

* Added support for Ubuntu 26.04 LTS ([b1ec228](b1ec2289eb))
2026-04-03 21:13:15 +00:00
.github/workflows Update CI 2026-04-03 21:35:53 +02:00
defaults feat: Update supported platforms & CI 2023-08-15 00:25:37 +02:00
handlers Fix Ubuntu 26 code 2026-04-03 22:59:56 +02:00
meta Update CI 2026-03-14 19:23:13 +01:00
molecule/default Update CI 2026-04-03 21:35:53 +02:00
tasks Fix Ubuntu 26 code 2026-04-03 22:59:56 +02:00
templates Initial commit 2021-10-14 12:37:59 +02:00
.ansible-lint Update CI 2026-04-03 21:35:53 +02:00
.cicd Update CI 2026-04-03 21:35:53 +02:00
.cicd.overwrite Update CI 2026-03-14 19:23:13 +01:00
.collections feat: Update CI to latest standards 2022-10-08 01:06:10 +02:00
.gitignore feat: Update supported platforms & CI 2024-12-29 01:34:11 +01:00
.releaserc.yml Update CI 2026-03-06 22:28:52 +01:00
.roles feat: Update CI to latest standards 2022-10-07 21:23:34 +02:00
.yamllint feat: Update supported platforms & CI 2024-12-29 01:34:11 +01:00
CHANGELOG.md chore(release): 1.11.0 [skip ci] 2026-04-03 21:13:15 +00:00
README.md Update CI 2026-04-03 21:35:53 +02:00

CI

ansible-role-chrony

Install/configure chrony for time synchronization

Dependencies

Roles

None

Collections

None

Platforms

Supported platforms

  • Red Hat Enterprise Linux 81
  • Red Hat Enterprise Linux 91
  • Red Hat Enterprise Linux 101
  • RockyLinux 8
  • RockyLinux 9
  • RockyLinux 10
  • OracleLinux 8
  • OracleLinux 9
  • OracleLinux 10
  • AlmaLinux 8
  • AlmaLinux 9
  • AlmaLinux 10
  • Debian 11 (Bullseye)
  • Debian 12 (Bookworm)
  • Debian 13 (Trixie)
  • Ubuntu 20.04 LTS
  • Ubuntu 22.04 LTS
  • Ubuntu 24.04 LTS
  • Ubuntu 26.04 LTS
  • Fedora 42
  • Fedora 43

Note: 1 : no automated testing is performed on these platforms

Role Variables

defaults/main.yml


# Chrony configuration template
chrony_conf_template: chrony.conf.j2

# Should a backup be made of the current configuration before changing it
chrony_conf_backup: false

# NTP servers to connect to
chrony_servers:
  - 0.nl.pool.ntp.org
  - 1.nl.pool.ntp.org
  - 2.nl.pool.ntp.org
  - 3.nl.pool.ntp.org

# Chrony makestep arguments
chrony_makestep: '10 3'

defaults/family-Alpine.yml


# Chrony main configuration file
chrony_conf: /etc/chrony/chrony.conf

# Chrony keys
chrony_keyfile: /etc/chrony/chrony.keys

# List of packages
chrony_packages:
  - chrony

# Name of the service
chrony_service: chronyd

defaults/family-Debian.yml


# Chrony main configuration file
chrony_conf: /etc/chrony/chrony.conf

# Chrony keys
chrony_keyfile: /etc/chrony/chrony.keys

# List of packages
chrony_packages:
  - chrony

# Name of the service
chrony_service: chrony

defaults/family-RedHat.yml


# Chrony main configuration file
chrony_conf: /etc/chrony.conf

# Chrony keys
chrony_keyfile: /etc/chrony.keys

# List of packages
chrony_packages:
  - chrony

# Name of the service
chrony_service: chronyd

defaults/family-Suse.yml


# Chrony main configuration file
chrony_conf: /etc/chrony.conf

# Chrony keys
chrony_keyfile: /etc/chrony.keys

# List of packages
chrony_packages:
  - chrony

# Name of the service
chrony_service: chronyd

Example Playbook

molecule/default/converge.yml


- name: sample playbook for role 'chrony'
  hosts: all
  become: 'yes'
  tasks:
    - name: Include role 'chrony'
      ansible.builtin.include_role:
        name: chrony