An Ansible role to activate the ntpdate service on FreeBSD and NetBSD.
The role is available on Ansible Galaxy.
To install the role from Ansible Galaxy execute the command below.
ansible-galaxy install stafwag.ntpdate
If you want to use the source code directly.
Clone the role source code.
$ git clone https://github.com/stafwag/ansible-role-ntpdate
and put into the role search path
- FreeBSD
- NetBSD
None
- name: Configure ntp on the systems
hosts: all
become: true
roles:
- stafwag.ntpdate
- stafwag.ntpd
vars:
ntpd:
servers:
- 0.be.pool.ntp.org
- 1.be.pool.ntp.org
- 2.be.pool.ntp.org
- 3.be.pool.ntp.org
MIT/BSD
Created by Staf Wagemakers, email: [email protected], personal website: https://www.wagemakers.be, my company https://mask27.dev