2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-25 16:08:23 +00:00

25 lines
548 B
YAML
Raw Normal View History

2017-08-29 12:21:06 +05:30
---
- name: Install ntpd
yum:
name:
- ntp
- ntpdate
2019-12-11 10:06:43 +05:30
state: present
when: ansible_distribution == 'CentOS'
2017-08-29 12:21:06 +05:30
2018-02-05 15:07:14 +05:30
- name: Enable ntpd
service: name=ntpd enabled=yes state=started
when: ansible_distribution == 'CentOS'
- name: Install ntpd
apt:
pkg:
- ntp
- ntpdate
2019-12-11 10:06:43 +05:30
state: present
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
2018-02-05 15:07:14 +05:30
- name: Enable ntpd
service: name=ntp enabled=yes state=started
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
2018-02-05 15:07:14 +05:30
...