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:
parent
f3ef161a73
commit
e6d7a8c66f
4 changed files with 23 additions and 0 deletions
|
@ -68,6 +68,10 @@ Supported platforms:
|
|||
- 11.2
|
||||
- 10.4
|
||||
- 10.3
|
||||
- name: OpenBSD
|
||||
versions:
|
||||
- 6.0
|
||||
- 6.4
|
||||
```
|
||||
|
||||
## Role Variables
|
||||
|
|
|
@ -63,6 +63,10 @@ galaxy_info:
|
|||
- 11.2
|
||||
- 10.4
|
||||
- 10.3
|
||||
- name: OpenBSD
|
||||
versions:
|
||||
- 6.0
|
||||
- 6.4
|
||||
|
||||
galaxy_tags:
|
||||
- system
|
||||
|
|
13
tasks/packages/setup-OpenBSD.yml
Normal file
13
tasks/packages/setup-OpenBSD.yml
Normal 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
2
vars/OpenBSD.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
ntp_package: ntp
|
||||
ntp_service: ntpd
|
Loading…
Reference in a new issue