mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-29 21:10:20 +08:00
Since base install ntp on all platforms, we can skip the vars and place it by default (next step is to convert the few playbooks duplicating the role)
28 lines
427 B
YAML
28 lines
427 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=running enabled=true
|
|
tags:
|
|
- ntp
|
|
- service
|
|
- base
|