summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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