Fixes: #30420 Original PR from nrwahl2 (https://github.com/ansible/ansible/pull/30463) Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>