Giter VIP home page Giter VIP logo

chrony.ansible.role's Introduction

Ansible Role: chrony

Build Status Ansible Galaxy

An Ansible role of setup chrony in everyway.

Requirements

None.

Role Variables

# All
#####

# Allow access range of subnet or node, like 10.8.0.0/16, 192.168.1.24.
chrony_allow_range: ''

# Debian & Ubuntu
#################

apt_chrony_package:   'chrony'
apt_chrony_conf:      '/etc/chrony/chrony.conf'
apt_chrony_ntp_server:
  - '2.debian.pool.ntp.org'
apt_chrony_keyfile:   '/etc/chrony/chrony.keys'
apt_chrony_driftfile: '/var/lib/chrony/chrony.drift'
apt_chrony_logdir:    '/var/log/chrony'

# EL
####

yum_chrony_package:   'chrony'
yum_chrony_conf:      '/etc/chrony.conf'
yum_chrony_ntp_server:
  - '0.centos.pool.ntp.org'
  - '1.centos.pool.ntp.org'
  - '2.centos.pool.ntp.org'
  - '3.centos.pool.ntp.org'
yum_chrony_keyfile:   '/etc/chrony.keys'
yum_chrony_driftfile: '/var/lib/chrony/drift'
yum_chrony_logdir:    '/var/log/chrony'

Dependencies

None.

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
     - { role: chusiang.chrony }

Known Issues

  1. Misalignment of the upper NTP has exceeded the 5000ms on Zabbix.

    # Immediately synchronize by manual.
    $ sudo chronyc -a makestep
    

License

Copyright (c) chusiang from 2018-2020 under the MIT license.

chrony.ansible.role's People

Contributors

chusiang avatar

Stargazers

 avatar

Watchers

 avatar  avatar

chrony.ansible.role's Issues

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.