Giter VIP home page Giter VIP logo

ansible-role-chrony's Introduction

Ansible Role: chrony

Build Status

This Ansible role allows you to install chrony and manage its configuration.

For more information about chrony, please check the official project page.

Role variables

Variable name Description Default value
chrony_service_name Wether we should flush the current ruleset or not. chronyd
chrony_timezone Path to the configuration file. Etc/UTC
chrony_ntp_pools A list of NTP pools to use, with their options. [ 'pool.ntp.org iburst maxpoll 10' ]
chrony_ntp_servers ย  A list of NTP servers to use, with their options. []
chrony_config_file ย  Path to chrony configuration file. /etc/chrony.conf
chrony_config_logdir Path to chrony logs directory. /var/log/chrony
chrony_config_driftfile Path to chrony drift file. /var/lib/chrony/drift
chrony_makestep_threshold Limit (in sec) above which chrony will step the clock instead of slewing it. 1
chrony_makestep_limit Limit (in nb) above which chrony won't step the clock anymore, even if needed. 10
chrony_allow List of subnets allowed to access this computer as an NTP server. []
chrony_deny List of subnets NOT allowed to access this computer as an NTP server. []

๐Ÿ“— Documentation:

Example

Here is a small example of what your file should look like.

IMPORTANT: DO NOT use this example as it is.

---
chrony_service_name: chronyd
chrony_timezone: Europe/Paris
chrony_ntp_pools: []
chrony_ntp_servers:
  - 0.rhel.pool.ntp.org iburst maxpoll 10
  - 1.rhel.pool.ntp.org iburst maxpoll 10
  - 2.rhel.pool.ntp.org iburst maxpoll 10
  - 3.rhel.pool.ntp.org iburst maxpoll 10
chrony_config_file: /etc/chrony.conf
chrony_config_driftfile: /var/lib/chrony/drift
chrony_makestep_threshold: 5
chrony_makestep_limit: 3
chrony_allow:
  - 192.0.2.0/24
  - 192.0.2.200
chrony_deny:
  - 192.0.2.0/25
...

Contributing

Code reviews, patches, comments, bug reports and feature requests are welcome. Please read the Contributing Guide for further details.

ansible-role-chrony's People

Contributors

frzk avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.