The cloud-init version get from Ansible package module is not a full version on RHEL family. This change directly gets the cloud-init version from cloud-init command
Take RHEL_9.4 as an example, before this change, cloud-init version get from Ansible module is 23.4; with this change, we can get the full version 23.4-7.el9_4.
The cloud-init version get from Ansible package module is not a full version on RHEL family. This change directly gets the cloud-init version from cloud-init command Take RHEL_9.4 as an example, before this change, cloud-init version get from Ansible module is 23.4; with this change, we can get the full version 23.4-7.el9_4.