mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
0-init/tasks/tz.yml: Clarify Time Zone (TZ) extraction
This commit is contained in:
parent
371146c4ed
commit
abf5e08f3f
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@
|
||||||
#
|
#
|
||||||
# This takes care of essentially everything (e.g. output "America/New_York")
|
# This takes care of essentially everything (e.g. output "America/New_York")
|
||||||
# by checking (1) symlink /etc/localtime then (2) text file /etc/timezone
|
# by checking (1) symlink /etc/localtime then (2) text file /etc/timezone
|
||||||
# then (3) if neither exist, then "UTC" is declated (correctly!) One
|
# then (3) if neither exist, "UTC" is declated (correctly!) One drawback:
|
||||||
# drawback: timedatectl if not easily usable within chroot environments.
|
# timedatectl if not easily usable within chroot environments.
|
||||||
|
|
||||||
|
|
||||||
- name: "'local_tz: {{ local_tz }}' was set by ansible_date_time.tz in /opt/iiab/iiab/vars/default_vars.yml -- e.g. if Ansible finds symlink /etc/localtime -> ../usr/share/zoneinfo/America/New_York -- it will simplify that to 'EDT' (in the summer) or 'EST' (in the winter)"
|
- name: "'local_tz: {{ local_tz }}' was set by ansible_date_time.tz in /opt/iiab/iiab/vars/default_vars.yml -- e.g. if Ansible finds symlink /etc/localtime -> ../usr/share/zoneinfo/America/New_York -- it will simplify that to 'EDT' (in the summer) or 'EST' (in the winter)"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue