diff options
author | Jeff Geerling <geerlingguy@mac.com> | 2017-06-20 17:40:14 -0500 |
---|---|---|
committer | Jeff Geerling <geerlingguy@mac.com> | 2017-06-20 17:40:14 -0500 |
commit | ab31688e046fe9e66007b34389dfaf7ed81a4bba (patch) | |
tree | 5c93812cf2a43b15e015f8e61d109199cd3a181e /tasks/main.yml | |
parent | a9767d7c6639eeea8b45564f7ddb5018680aea3d (diff) | |
download | ntp-ab31688e046fe9e66007b34389dfaf7ed81a4bba.tar.gz ntp-ab31688e046fe9e66007b34389dfaf7ed81a4bba.tar.bz2 ntp-ab31688e046fe9e66007b34389dfaf7ed81a4bba.tar.xz ntp-ab31688e046fe9e66007b34389dfaf7ed81a4bba.zip |
Fixes #36: Fix CentOS 6 minimal installs without clock files.
Diffstat (limited to 'tasks/main.yml')
-rw-r--r-- | tasks/main.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tasks/main.yml b/tasks/main.yml index a022447..e88b109 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -10,6 +10,9 @@ - ntp - tzdata +- include: clock-rhel-6.yml + when: ansible_os_family == 'RedHat' and ansible_distribution_version.split('.')[0] == '6' + - name: Set timezone timezone: name: "{{ ntp_timezone }}" |