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" }
|
- { src: "etc/locale.gen.j2", dest: "/etc/locale.gen" }
|
||||||
tags: base-system
|
tags: base-system
|
||||||
|
|
||||||
- name: set timezone
|
- name: set timezone for /etc/localtime
|
||||||
file:
|
file:
|
||||||
src: /usr/share/zoneinfo/{{ timezone_location }}
|
src: /usr/share/zoneinfo/{{ timezone_location }}
|
||||||
dest: /etc/localtime
|
dest: /etc/localtime
|
||||||
|
@ -313,6 +313,12 @@
|
||||||
force: yes
|
force: yes
|
||||||
tags: base-system
|
tags: base-system
|
||||||
|
|
||||||
|
- name: set timezone for /etc/timezone
|
||||||
|
copy:
|
||||||
|
content: "{{ timezone_location }}"
|
||||||
|
dest: /etc/timezone
|
||||||
|
tags: base-system
|
||||||
|
|
||||||
- name: generate locales
|
- name: generate locales
|
||||||
command: locale-gen
|
command: locale-gen
|
||||||
tags: base-system
|
tags: base-system
|
||||||
|
|
Loading…
Reference in New Issue