Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Rheinwerk/ansible-role-ntpdate_cron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ntpdate cron

This role installs an hourly cronjob for ntpdate.

Build Status

Requirements

None.

Role Variables

There is one main variable that drives this role: _ntpdate_cron. It is a map that contains all configuration and settings for this role. Please see defaults/main.yml for details.

Dependencies

None.

Example Playbook

The general contract of this role is to take the variables map _ntpdate_cron from defaults/main.yml as a template for your configuration and pass that configuration as a parameter to this role.

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
  var:
    NTPDATE_CRON:
      ...
  roles:
     - { role: ntpdate_cron, tags: [ 'ntpdate-cron' ], _ntpdate_cron: "{{ NTPDATE_CRON }}" }

License

Please see LICENSE.

Author Information

Original author is Daniel Schneller as member of the Rheinwerk project.