mirror of
https://github.com/roles-ansible/ansible_role_ntp.git
synced 2024-08-16 12:59:49 +02:00
15 lines
329 B
YAML
15 lines
329 B
YAML
---
|
|
# Tasks file for install ntp daemon on FreeBSD system
|
|
|
|
- name: Install ntp daemon on FreeBSD
|
|
become: true
|
|
ansible.builtin.package:
|
|
name: "{{ ntp_package }}"
|
|
state: present
|
|
|
|
- name: Service ntp on FreeBSD
|
|
become: true
|
|
ansible.builtin.service:
|
|
name: "{{ ntp_service }}"
|
|
enabled: true
|
|
state: started
|