From 2019c99574319713667ed001a24e6f26d686980a Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Wed, 5 Mar 2014 09:48:33 -0600 Subject: Initial commit. --- tasks/main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tasks/main.yml (limited to 'tasks') diff --git a/tasks/main.yml b/tasks/main.yml new file mode 100644 index 0000000..7ed08ed --- /dev/null +++ b/tasks/main.yml @@ -0,0 +1,10 @@ +--- +# Date and timezone (NTP). +- name: Set the correct timezone. + file: src=/usr/share/zoneinfo/{{ timezone }} dest=/etc/localtime state=link force=yes + +- name: Install NTP. + yum: name=ntp state=installed + +- name: Ensure NTP is running. + service: name=ntpd state=started enabled=yes -- cgit v1.2.3