summaryrefslogtreecommitdiffstats
path: root/ansible/node/roles/common/tasks/generic/timezone.yml
blob: 87b0ba4f37a5466c7817de8fc5b10c96f5367a44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
- name: configure node timezone
  timezone:
    hwclock: UTC
    name: "{{timezone}}"

- name: hand hack timezone to avoid reboot
  file:
    src: /usr/share/zoneinfo/{{timezone}}
    path: /etc/localtime
    state: link
    force: yes