mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-02 06:20:26 +08:00
28 lines
426 B
YAML
28 lines
426 B
YAML
- name: install ntp
|
|
package: name=ntp state=present
|
|
tags:
|
|
- ntp
|
|
- package
|
|
- base
|
|
|
|
- name: install ntp.conf
|
|
template: src=ntp.conf.j2 dest=/etc/ntp.conf
|
|
tags:
|
|
- ntp
|
|
- config
|
|
- base
|
|
|
|
- name: install ntp step-tickers
|
|
copy: src=step-tickers dest=/etc/ntp/step-tickers
|
|
tags:
|
|
- ntp
|
|
- config
|
|
- base
|
|
|
|
- name: Start ntpd
|
|
service: name=ntpd state=started enabled=yes
|
|
tags:
|
|
- ntp
|
|
- service
|
|
- base
|