add ability to set timezone
This commit is contained in:
parent
ce82a62dae
commit
a17588d3cd
4 changed files with 13 additions and 1 deletions
|
|
@ -50,6 +50,7 @@
|
|||
tasksel:
|
||||
- english
|
||||
- german
|
||||
timezone: Europe/Berlin
|
||||
fablab:
|
||||
arduino:
|
||||
version: 1.8.5
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
---
|
||||
- name: generate locales
|
||||
command: locale-gen
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
- import_tasks: keyboard-configuration.yml
|
||||
- import_tasks: locale.yml
|
||||
- import_tasks: timezone.yml
|
||||
|
|
|
|||
11
packer/ansible/roles/l10n/tasks/timezone.yml
Normal file
11
packer/ansible/roles/l10n/tasks/timezone.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
- name: set timezone
|
||||
copy:
|
||||
dest: /etc/timezone
|
||||
content: "{{ l10n.timezone }}"
|
||||
|
||||
- name: copy timezone config
|
||||
copy:
|
||||
remote_src: true
|
||||
src: "/usr/share/zoneinfo/{{ l10n.timezone }}"
|
||||
dest: /etc/localtime
|
||||
Loading…
Add table
Add a link
Reference in a new issue