ansible regex to search and append ip as a registry host for container images
We are trying to update the image: field in Kubernetes YAML manifests by dynamically appending an IP address (10.20.30.40/) to the image URL, except in certain cases. Specifically, we have three scenarios to consider:
Scenario 1: Image starting with an IP address