I am querying ansible facts of AWS EC2s to get volume IDs without having to use the AWS API. Prior to Red Hat 9 I could use ansible_device_links[‘ids’][device name] to get the associated volume ID.
REDHAT 8
“ansible_facts”: {
“ansible_device_links”: {
“ids”: {
“nvme0n1”: [
“nvme-Amazon_Elastic_Block_Store_vol0205cf99926f7c3e8”,
“nvme-nvme.1d0f-766f6c3032303563663939393236663763336538-416d617a6f6e20456c617374696320426c6f636b2053746f7265-00000001”
],
Starting with Red Hat 9 we seem to have lost this info.
REDHAT 9
“ansible_facts”: {
“ansible_device_links”: {
“ids”: {},
Is this something unique to my environment or is this something that changed with RHEL facts?
Walter