diff options
Diffstat (limited to 'ansible/node/roles/common/tasks/generic/timezone.yml')
-rw-r--r-- | ansible/node/roles/common/tasks/generic/timezone.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ansible/node/roles/common/tasks/generic/timezone.yml b/ansible/node/roles/common/tasks/generic/timezone.yml new file mode 100644 index 0000000..87b0ba4 --- /dev/null +++ b/ansible/node/roles/common/tasks/generic/timezone.yml @@ -0,0 +1,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 |