summaryrefslogtreecommitdiffstats
path: root/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'tasks')
-rw-r--r--tasks/main.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/tasks/main.yml b/tasks/main.yml
index 6a58382..b0379a2 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -9,6 +9,14 @@
state: link
force: yes
+# Debian family OSes also have an /etc/timezone file.
+- name: Set timezone in /etc/timezone file.
+ template:
+ src: timezone.j2
+ dest: /etc/timezone
+ force: yes
+ when: ansible_os_family == 'Debian'
+
- name: Install NTP (RedHat).
yum: name=ntp state=installed
when: ansible_os_family == 'RedHat'