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

add OpenBSD support

This commit is contained in:
diodonfrost 2018-12-28 12:37:38 +01:00
parent f3ef161a73
commit e6d7a8c66f
4 changed files with 23 additions and 0 deletions

View file

@ -68,6 +68,10 @@ Supported platforms:
- 11.2 - 11.2
- 10.4 - 10.4
- 10.3 - 10.3
- name: OpenBSD
versions:
- 6.0
- 6.4
``` ```
## Role Variables ## Role Variables

View file

@ -63,6 +63,10 @@ galaxy_info:
- 11.2 - 11.2
- 10.4 - 10.4
- 10.3 - 10.3
- name: OpenBSD
versions:
- 6.0
- 6.4
galaxy_tags: galaxy_tags:
- system - system

View file

@ -0,0 +1,13 @@
---
# Tasks file for install ntp daemon on OpenBSD system
- name: Install ntp daemon on OpenBSD
package:
name: "{{ ntp_package }}"
state: present
- name: Service ntp on OpenBSD
service:
name: "{{ ntp_service }}"
enabled: yes
state: started

2
vars/OpenBSD.yml Normal file
View file

@ -0,0 +1,2 @@
ntp_package: ntp
ntp_service: ntpd