summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Geerling <geerlingguy@mac.com>2014-03-05 09:50:12 -0600
committerJeff Geerling <geerlingguy@mac.com>2014-03-05 09:50:12 -0600
commite73859fcec0c3d4b79951bcd3829b8650c809804 (patch)
tree1a0ad5ce97c88a20803bce487d76d3210c644b86
parent2019c99574319713667ed001a24e6f26d686980a (diff)
downloadntp-e73859fcec0c3d4b79951bcd3829b8650c809804.tar.gz
ntp-e73859fcec0c3d4b79951bcd3829b8650c809804.tar.bz2
ntp-e73859fcec0c3d4b79951bcd3829b8650c809804.tar.xz
ntp-e73859fcec0c3d4b79951bcd3829b8650c809804.zip
Finish adding role required parts.
-rw-r--r--meta/main.yml15
-rw-r--r--tasks/main.yml2
2 files changed, 16 insertions, 1 deletions
diff --git a/meta/main.yml b/meta/main.yml
new file mode 100644
index 0000000..7477ddf
--- /dev/null
+++ b/meta/main.yml
@@ -0,0 +1,15 @@
+---
+dependencies: []
+
+galaxy_info:
+ author: geerlingguy
+ description: NTP installation and configuration for RHEL/CentOS 6.x.
+ company: "Midwestern Mac, LLC"
+ license: "license (BSD, MIT)"
+ min_ansible_version: 1.4
+ platforms:
+ - name: EL
+ versions:
+ - 6
+ categories:
+ - system
diff --git a/tasks/main.yml b/tasks/main.yml
index 7ed08ed..11211c2 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -1,7 +1,7 @@
---
# Date and timezone (NTP).
- name: Set the correct timezone.
- file: src=/usr/share/zoneinfo/{{ timezone }} dest=/etc/localtime state=link force=yes
+ file: src=/usr/share/zoneinfo/{{ ntp_timezone }} dest=/etc/localtime state=link force=yes
- name: Install NTP.
yum: name=ntp state=installed