Skip to content

ricardo-aires/chrony

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chrony Setup

Role that setup the chrony service using the security guidelines established by the CIS Benchmark for RHEL 7 over the 2.2.1 Time Synchronization section.

Requirements

This role was created using Ansible 2.9 for macOS and tested using the centos/7 boxes for Vagrant v.2.2.6 with VirtualBox as a Provider.

The Ansible modules used in the role are:

Role Variables

The only variable to be used is a list named chrony_ntp_servers that should hold the pool to be used. By default the next public ones are set:

chrony_ntp_servers:
  - 0.centos.pool.ntp.org
  - 1.centos.pool.ntp.org
  - 2.centos.pool.ntp.org
  - 3.centos.pool.ntp.org

The list should be replaced by the ones of the organisation/environment and the chrony.conf template tweak to match requirements.

Dependencies

This role doesn't have any dependencies.

Example Playbook

A working example using Vagrant and Virtual Box is setup under tests.

About

Ansible Role to Setup chrony RHEL 7

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages