add time option
This commit is contained in:
parent
5b0655ad5a
commit
6a0b28246f
@ -7,3 +7,6 @@ arch_base_locales: [
|
||||
"fr_FR.UTF-8",
|
||||
"en_US.UTF-8"
|
||||
]
|
||||
time:
|
||||
hwclock: UTC
|
||||
timezone: Europe/Paris
|
@ -4,3 +4,9 @@
|
||||
become: yes
|
||||
args:
|
||||
creates: /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service
|
||||
|
||||
- name: Set timezone and hardware clock
|
||||
timezone:
|
||||
hwclock: '{{ time.hwclock }}'
|
||||
name: '{{ time.timezone }}'
|
||||
become: yes
|
Loading…
Reference in New Issue
Block a user