mirror of
https://github.com/schnidrig/openhab-ansible
synced 2026-01-12 00:48:46 +01:00
openhab 2.5 on raspi4
This commit is contained in:
22
roles/raspberry/tasks/_attic/timezone.yml
Normal file
22
roles/raspberry/tasks/_attic/timezone.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
|
||||
- name: fix /etc/localtime
|
||||
file:
|
||||
state: link
|
||||
path: "/etc/localtime"
|
||||
src: "/usr/share/zoneinfo/{{timezone}}"
|
||||
owner: root
|
||||
group: root
|
||||
force: true
|
||||
tags:
|
||||
- timezone
|
||||
|
||||
- name: fix /etc/timezone
|
||||
copy:
|
||||
dest: "/etc/timezone"
|
||||
content: "{{timezone}}"
|
||||
owner: root
|
||||
group: root
|
||||
mode: "u=rw,g=r,o=r"
|
||||
tags:
|
||||
- timezone
|
||||
Reference in New Issue
Block a user