Deployment node is not infra01 and did/does not have any of the containers in its /etc/hosts file; just the nodes it is deploying OpenStack on. Adding the rabbit containers to the /etc/hosts of the deployment node resolved this. I am confident - though not entirely sure - the issue is with the line
delegate_to: localhost
in /opt/openstack-ansible/scripts/upgrade-utilities/playbooks/restart-rabbitmq-containers.yml
Deployment node is not infra01 and did/does not have any of the containers in its /etc/hosts file; just the nodes it is deploying OpenStack on. Adding the rabbit containers to the /etc/hosts of the deployment node resolved this. I am confident - though not entirely sure - the issue is with the line
delegate_to: localhost
in /opt/openstack- ansible/ scripts/ upgrade- utilities/ playbooks/ restart- rabbitmq- containers. yml