mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
ensure util-linux-extra is installed in Ubuntu 24.04 (#8710)
This commit is contained in:
parent
fd811df414
commit
c517f1c483
2 changed files with 10 additions and 1 deletions
|
@ -49,7 +49,8 @@ options:
|
||||||
aliases: [ rtc ]
|
aliases: [ rtc ]
|
||||||
choices: [ local, UTC ]
|
choices: [ local, UTC ]
|
||||||
notes:
|
notes:
|
||||||
- On SmartOS the C(sm-set-timezone) utility (part of the smtools package) is required to set the zone timezone
|
- On Ubuntu 24.04 the C(util-linux-extra) package is required to provide the C(hwclock) command.
|
||||||
|
- On SmartOS the C(sm-set-timezone) utility (part of the smtools package) is required to set the zone timezone.
|
||||||
- On AIX only Olson/tz database timezones are usable (POSIX is not supported).
|
- On AIX only Olson/tz database timezones are usable (POSIX is not supported).
|
||||||
An OS reboot is also required on AIX for the new timezone setting to take effect.
|
An OS reboot is also required on AIX for the new timezone setting to take effect.
|
||||||
Note that AIX 6.1+ is needed (OS level 61 or newer).
|
Note that AIX 6.1+ is needed (OS level 61 or newer).
|
||||||
|
|
|
@ -60,6 +60,14 @@
|
||||||
state: present
|
state: present
|
||||||
when: ansible_distribution == 'Alpine'
|
when: ansible_distribution == 'Alpine'
|
||||||
|
|
||||||
|
- name: make sure hwclock is installed in Ubuntu 24.04
|
||||||
|
package:
|
||||||
|
name: util-linux-extra
|
||||||
|
state: present
|
||||||
|
when:
|
||||||
|
- ansible_distribution == 'Ubuntu'
|
||||||
|
- ansible_facts.distribution_major_version is version('24', '>=')
|
||||||
|
|
||||||
- name: make sure the dbus service is started under systemd
|
- name: make sure the dbus service is started under systemd
|
||||||
systemd:
|
systemd:
|
||||||
name: dbus
|
name: dbus
|
||||||
|
|
Loading…
Reference in a new issue