1
0
Fork 0
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:
A Holt 2022-12-30 02:35:10 -05:00 committed by GitHub
parent 371146c4ed
commit abf5e08f3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,8 +12,8 @@
#
# This takes care of essentially everything (e.g. output "America/New_York")
# by checking (1) symlink /etc/localtime then (2) text file /etc/timezone
# then (3) if neither exist, then "UTC" is declated (correctly!) One
# drawback: timedatectl if not easily usable within chroot environments.
# then (3) if neither exist, "UTC" is declated (correctly!) One drawback:
# 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)"