Last change
on this file since 3796 was 3795, checked in by Bruno Cornec, 7 months ago |
Untag v3.3.0 never really published in the past - will start from here
|
File size:
535 bytes
|
Line | |
---|
1 | ---
|
---|
2 |
|
---|
3 | - name: Check that ntp is installed
|
---|
4 | urpmi: name=ntp state=installed no_recommends=yes
|
---|
5 | tags: ntp
|
---|
6 |
|
---|
7 | - name: Check that ntp is configured
|
---|
8 | template: src={{item.src }} dest={{ item.dest }} owner=root group=root mode=0640 backup=yes
|
---|
9 | with_items:
|
---|
10 | - { src: 'templates/ntp.conf.j2', dest: '/etc/ntp.conf' }
|
---|
11 | - { src: 'templates/step-tickers.j2', dest: '/etc/ntp/step-tickers' }
|
---|
12 | notify:
|
---|
13 | - restart ntpd
|
---|
14 | tags: ntp
|
---|
15 |
|
---|
16 | - name: Check that ntpd is running and enabled
|
---|
17 | service: name=ntpd state=started enabled=yes
|
---|
18 | tags: ntp
|
---|
Note:
See
TracBrowser
for help on using the repository browser.