This allows us to tap into Ansible internals to query node IPs and access to playbook variables that now can be used to setup the environment, I need to test it across several environments and scenarios to make sure it behaves the same as before.
Note: This will break once we migrate to Ansible 2.4 since inventories were pretty much rewritten from scratch, we'll need to decide whether we want to bother with <2.4 compat.
This allows us to tap into
Ansible
internals to query node IPs and access to playbook variables that now can be used to setup the environment, I need to test it across several environments and scenarios to make sure it behaves the same as before.Note: This will break once we migrate to
Ansible
2.4 since inventories were pretty much rewritten from scratch, we'll need to decide whether we want to bother with <2.4 compat.