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.
12345678910111213141516 |
- ---
- # Defines tasks applicable for NTP (Network Time Protocol)
-
- - name: Install ntp
- apt: pkg=ntp state=installed
- tags:
- - dependencies
-
- - name: Configure ntp
- template: src=ntp.conf.j2 dest=/etc/ntp.conf
- notify:
- - restart ntp
-
- - name: Ensure ntpd is running and enabled
- service: name=ntp state=started enabled=yes
|