Geen omschrijving
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 331B

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