
The ansible hostvars variable is a dict of ansible host entries so we need to first key off of the hostname when accessing nodepool info from hostvars. Except that since we just want the current node's variables we can access them directly without going through hostvars. Change-Id: Ie6a25c8487d20189cb43c2d60afbdfd00cb5aafd
This playbook writes a backwards compatible /etc/nodepool/provider file for legacy jobs running on Zuul v3 which no longer provides that file.