Skip to content

dinohead/ar_linux_chrony_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#linux_chrony_client

This role will install and configure chrony on a RedHat- or Debian-based system.

  • NTP will be disabled.
  • If firewall (UFW, firewalld) is enabled, NTP allow rule will be added to the default zone.
  • NTP sources and options will be configured.

Requirements

  • This role utilizes root to install system packages and template system files. ansible_user must be able to sudo without a password.
  • This role utilizes Ansible magic variables to discover the distribution. Facts must be available.

Role Variables

parameter required default choices comments
linux_chrony_client no A list of lines to add to /etc/chrony.conf to add.

Example Playbook

    - hosts: servers
      roles:
        - ar_linux_chrony_client

Author Information

Author E-mail
Derek 'dRock' Halsey derek@dinohead.com

License

MIT License

Copyright (c) 2019 Dinohead LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Role Development Information

Testing

Git SCM

Please refer to the .gitignore file and update accordingly depending on your development environment, etc. The particular file was generated at gitignore.io and contains settings for the following:

  • Ansible
  • Python
  • Vim
  • Eclipse
  • IntelliJ IDEA
  • Linux
  • Windows

Versioning

Please update VERSION.md as you release new versions of your role and try to abide by Semantic Versioning.

Self-contained

Please try to keep this role as self-contained as possible such that it may be simply installed (e.g. ansible-galaxy install) and applied as part of a playbook.

About

Ansible Role to configure chrony on a Linux host

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages