mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-22 03:53:59 -07:00
Improve timezone module for none systemd Linux distributions (#38032)
* The module now correctly sets the timezone in both the config file and in /etc/localtime; while hwclock is set in both the config and /etc/adjtime. * Module checks if the timezone is actually set by checking /etc/localtime. Before it only checked if it was set in the config file. * Fixed module not setting the timezone on RedHat systems if /etc/localtime was a symbolic link. * Fixed module failures in case of missing config files or incorrect data in them. * Added a lot of integrations tests to cover most of these situations.
This commit is contained in:
parent
4a6161bab8
commit
de57fa71c1
3 changed files with 736 additions and 49 deletions
|
@ -1228,7 +1228,6 @@ lib/ansible/modules/system/service.py E323
|
|||
lib/ansible/modules/system/solaris_zone.py E324
|
||||
lib/ansible/modules/system/svc.py E322
|
||||
lib/ansible/modules/system/svc.py E324
|
||||
lib/ansible/modules/system/timezone.py E326
|
||||
lib/ansible/modules/system/ufw.py E322
|
||||
lib/ansible/modules/system/ufw.py E326
|
||||
lib/ansible/modules/system/user.py E324
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue