You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
268 B
14 lines
268 B
3 years ago
|
---
|
||
|
- name: Symlink timezone to /etc/localtime.
|
||
|
file:
|
||
|
src: /usr/share/zoneinfo/{{ timezone }}
|
||
|
path: /etc/localtime
|
||
|
state: link
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: 0644
|
||
|
|
||
|
- name: Sync hardware clock.
|
||
|
command: hwclock --systohc
|
||
|
changed_when: true
|