summaryrefslogtreecommitdiffstats
path: root/roles/timezone/tasks/main.yaml
diff options
context:
space:
mode:
authorMatt Woodson <mwoodson@redhat.com>2015-02-19 09:42:28 -0500
committerMatt Woodson <mwoodson@redhat.com>2015-02-19 09:42:28 -0500
commiteaeeb1ec8370c35c7010b9350d42e30e5e00dcc5 (patch)
tree5412075aa6562a57ddcfa7e6c70a322264dab61b /roles/timezone/tasks/main.yaml
parent8120628e5a4f913e770851c1a3172126d79695fc (diff)
downloadopenshift-eaeeb1ec8370c35c7010b9350d42e30e5e00dcc5.tar.gz
openshift-eaeeb1ec8370c35c7010b9350d42e30e5e00dcc5.tar.bz2
openshift-eaeeb1ec8370c35c7010b9350d42e30e5e00dcc5.tar.xz
openshift-eaeeb1ec8370c35c7010b9350d42e30e5e00dcc5.zip
more updates
Diffstat (limited to 'roles/timezone/tasks/main.yaml')
-rw-r--r--roles/timezone/tasks/main.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/timezone/tasks/main.yaml b/roles/timezone/tasks/main.yaml
new file mode 100644
index 000000000..339b4e0b2
--- /dev/null
+++ b/roles/timezone/tasks/main.yaml
@@ -0,0 +1,4 @@
+---
+- name: Setup correct timezone
+ command: timedatectl set-timezone America/New_York
+ when: ansible_os_family == "RedHat" and ansible_lsb.major_release|int >= 7