add time option
This commit is contained in:
parent
5b0655ad5a
commit
6a0b28246f
@ -6,4 +6,7 @@ arch_base_timezone: Europe/Paris
|
||||
arch_base_locales: [
|
||||
"fr_FR.UTF-8",
|
||||
"en_US.UTF-8"
|
||||
]
|
||||
]
|
||||
time:
|
||||
hwclock: UTC
|
||||
timezone: Europe/Paris
|
@ -3,4 +3,10 @@
|
||||
command: timedatectl set-ntp true
|
||||
become: yes
|
||||
args:
|
||||
creates: /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service
|
||||
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