On RHEL < 10 the default built-in database is "hash" which is what postfix upstream intended. On RHEL>=10 the default built-in database changed to "lmdb" (diversion from upstream), because the bdb library providing the "hash" was dropped. This can be issue on some other distro's not only on RHEL, because bdb is quite problematic library.
So this can affects playbooks using this role which can run across different RHEL versions. For example on < RHEL-10 you need to have:
On RHEL < 10 the default built-in database is "hash" which is what postfix upstream intended. On RHEL>=10 the default built-in database changed to "lmdb" (diversion from upstream), because the bdb library providing the "hash" was dropped. This can be issue on some other distro's not only on RHEL, because bdb is quite problematic library.
So this can affects playbooks using this role which can run across different RHEL versions. For example on < RHEL-10 you need to have:
But on >= RHEL-10 you need to have:
It would be great if you could write it as:
or similarly.