Skip to content
/ time Public

Install and configure a time synchronization tool on your node.

License

Notifications You must be signed in to change notification settings

Gwerlas/time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Time

pipeline status

Time synchronisation management.

GitLab project: yoanncolin/ansible/roles/time

Requirements

This role as been writen to be run as non root user, so Sudo has to be installed and configured.

The package manager has to be configured and the database of packages has to be populated.

Facts

The time_service give You the name of the time service if You need to manage it later.

Tags

None.

Variables

See defaults/main.yml.

Look at the distributions specific values in vars/ directory.

Dependencies

None.

Example Playbook

Common usage :

---
- name: My wonderful playbook
  hosts: all
  roles:
    - name: gwerlas.time

With the legacy ntp package, and a list of custom NTP servers :

---
- name: My wonderful playbook
  hosts: all
  roles:
    - name: gwerlas.time
      vars:
        time_backend_name: ntp
        time_servers:
          - 0.fr.pool.ntp.org
          - 1.fr.pool.ntp.org
          - 2.fr.pool.ntp.org
          - 3.fr.pool.ntp.org

License

BSD 3-Clause License.

About

Install and configure a time synchronization tool on your node.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages