Last change
on this file since 3868 was 3799, checked in by Bruno Cornec, 6 months ago |
Update Mondorescue server to mga9
|
File size:
505 bytes
|
Line | |
---|
1 | ---
|
---|
2 |
|
---|
3 | - name: Check that ntpsec is installed
|
---|
4 | urpmi: name=ntpsec state=installed no_recommends=yes
|
---|
5 |
|
---|
6 | - name: Check that ntp is configured
|
---|
7 | template: src={{item.src }} dest={{ item.dest }} owner=root group=root mode=0640 backup=yes
|
---|
8 | with_items:
|
---|
9 | - { src: 'templates/ntp.conf.j2', dest: '/etc/ntp.conf' }
|
---|
10 | - { src: 'templates/step-tickers.j2', dest: '/etc/ntp/step-tickers' }
|
---|
11 | notify:
|
---|
12 | - restart ntpd
|
---|
13 |
|
---|
14 | - name: Check that ntpd is running and enabled
|
---|
15 | service: name=ntpd state=started enabled=yes
|
---|
Note:
See
TracBrowser
for help on using the repository browser.