Populate /etc/timezone as well
This commit is contained in:
parent
88764c44b2
commit
db77d5fcdd
|
@ -305,7 +305,7 @@
|
|||
- { src: "etc/locale.gen.j2", dest: "/etc/locale.gen" }
|
||||
tags: base-system
|
||||
|
||||
- name: set timezone
|
||||
- name: set timezone for /etc/localtime
|
||||
file:
|
||||
src: /usr/share/zoneinfo/{{ timezone_location }}
|
||||
dest: /etc/localtime
|
||||
|
@ -313,6 +313,12 @@
|
|||
force: yes
|
||||
tags: base-system
|
||||
|
||||
- name: set timezone for /etc/timezone
|
||||
copy:
|
||||
content: "{{ timezone_location }}"
|
||||
dest: /etc/timezone
|
||||
tags: base-system
|
||||
|
||||
- name: generate locales
|
||||
command: locale-gen
|
||||
tags: base-system
|
||||
|
|
Loading…
Reference in New Issue