1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_ntp.git synced 2024-08-16 12:59:49 +02:00
ansible_role_ntp/tasks/packages/setup-FreeBSD.yml

16 lines
329 B
YAML
Raw Normal View History

2018-12-28 12:26:05 +01:00
---
# Tasks file for install ntp daemon on FreeBSD system
- name: Install ntp daemon on FreeBSD
2021-03-12 13:26:34 +01:00
become: true
ansible.builtin.package:
2018-12-28 12:26:05 +01:00
name: "{{ ntp_package }}"
state: present
- name: Service ntp on FreeBSD
2021-03-12 13:26:34 +01:00
become: true
ansible.builtin.service:
2018-12-28 12:26:05 +01:00
name: "{{ ntp_service }}"
2021-03-12 13:26:34 +01:00
enabled: true
2018-12-28 12:26:05 +01:00
state: started