Add it to the ansible host list so it can perform actions like adding running the Openshift provisioning playbook and running verifications on the other VMs
- name: Add new instance to host group
add_host:
hostname: "{{ item['ips'][0].public_ip }}"
groupname: azure_vms
with_items: "{{ azure.deployment.instances }}"
Dynamically we will have to:
Add it to the ansible host list so it can perform actions like adding running the Openshift provisioning playbook and running verifications on the other VMs