10 lines
226 B
YAML
10 lines
226 B
YAML
|
---
|
||
|
- name: Install the ntp server
|
||
|
apt: pkg=ntp state={{ pkg_state }}
|
||
|
tags: [ 'packages', 'ntp' ]
|
||
|
|
||
|
- name: Ensure that the ntp server is running
|
||
|
service: name=ntp state=started enabled=yes
|
||
|
tags: [ 'packages', 'ntp' ]
|
||
|
|