You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
336 B
15 lines
336 B
---
|
|
# This playbook contains common plays that will be run on all nodes.
|
|
|
|
- name: Install ntp
|
|
yum: name=ntp state=present
|
|
tags: ntp
|
|
|
|
- name: Configure ntp file
|
|
template: src=ntp.conf.j2 dest=/etc/ntp.conf
|
|
tags: ntp
|
|
notify: restart ntp
|
|
|
|
- name: Start the ntp service
|
|
service: name=ntpd state=started enabled=yes
|
|
tags: ntp
|
|
|