No Description
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.

ntp.yml 304B

1234567891011121314
  1. ---
  2. # Defines tasks applicable for NTP (Network Time Protocol)
  3. - name: Install ntp
  4. apt: pkg=ntp state=installed
  5. - name: Configure ntp
  6. template: src=ntp.conf.j2 dest=/etc/ntp.conf
  7. notify:
  8. - restart ntp
  9. - name: Ensure ntpd is running and enabled
  10. service: name=ntp state=started enabled=yes