add ntpd to base

Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
Rick Elrod 2015-01-26 23:08:20 +00:00
parent 65342ef01d
commit 8a4ee97493
3 changed files with 57 additions and 0 deletions

View file

@ -242,6 +242,29 @@
- postfix
- base
- config
- name: install ntp.conf
copy: src=ntp/ntp.conf dest=/etc/ntp.conf
tags:
- ntp
- config
- base
- name: install ntp step-tickers
copy: src=ntp/step-tickers dest=/etc/ntp/step-tickers
tags:
- ntp
- config
- base
- name: Start ntpd (if the machine is not virtual)
when: ansible_virtualization_role != 'guest'
service: name=ntpd state=running enabled=true
tags:
- ntp
- service
- base
#
# This task installs some common scripts to /usr/local/bin
# scripts are under roles/base/files/common-scripts