Giter VIP home page Giter VIP logo

ansible-role-chrony's Introduction

Ansible Role: aisbergg.chrony

This Ansible role installs and configures Chrony, an alternative NTP implementation.

Requirements

Requires Systemd to be used as the service manager.

Role Variables

Variable Default Comments
chrony_service_enabled true Enable/Disable the Chrony service
chrony_service_state started Set the service state (Possible values: started, reloaded, restarted, stopped)
chrony_service_restart_on_change true Restart Chrony service on configuration changes.
chrony_timezone Europe/Berlin Set the timezone of the system. A list of available time zones can be found here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
chrony_disable_other_ntp_services true If set to true, all other NTP services present on the system will be disabled
chrony_config_server ["0.pool.ntp.org","1.pool.ntp.org","2.pool.ntp.org", "3.pool.ntp.org"] List of NTP servers to be used as a time source
chrony_config_pool [] List of NTP server pools
chrony_config_makestep 1.0 3 Step the system clock if the adjustment is larger than a threshold value
chrony_config_rtcsync true Enable kernel synchronization of the real-time clock (RTC)
chrony_config_extra_options {} A dict (key-value pairs) of extra config options. A list of available config options can be found here: https://chrony.tuxfamily.org/doc/3.5/chrony.conf.html

Dependencies

None.

Example Playbook

- hosts: all
  vars:
    chrony_timezone: Europe/Berlin
    chrony_config_server:
      - 0.arch.pool.ntp.org
      - 1.arch.pool.ntp.org
    chrony_config_extra_options:
      maxupdateskew: 100.0
  roles:
    - chrony

License

MIT

Author Information

Andre Lehmann ([email protected])

ansible-role-chrony's People

Contributors

aisbergg avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

schmitzis

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.