]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
roles/common/tasks/rhel-entitlements.yml: check for /var/lib/dbus wip-dbus-uuid
authorDan Mick <dmick@redhat.com>
Fri, 6 Sep 2024 06:59:42 +0000 (23:59 -0700)
committerDan Mick <dmick@redhat.com>
Fri, 6 Sep 2024 06:59:42 +0000 (23:59 -0700)
commit162e92b55ba327fb0fce30717e1738102a438c58
tree6af248f9e8f93fa9f3ddd5225cd4021b6d6e3a9b
parented04a8a3a9225d4b187a032a6ccf20c3b4b63779
roles/common/tasks/rhel-entitlements.yml: check for /var/lib/dbus

dbus-uuidgen will only work if /var/lib/dbus already exists.
In RHEL 9.3, 1) dbus-uuidgen isn't even installed (from
dbus-tools), and 2) /var/lib/dbus does not exist unless
dbus-daemon is installed, which it's not, by default, for a
kickstart install.  So this role will break when run during
fog image capture.

Change to do the two dbus-uuidgen's only if /var/lib/dbus exists.

Signed-off-by: Dan Mick <dmick@redhat.com>
roles/common/tasks/rhel-entitlements.yml