zuul-jobs/roles/multi-node-hosts-file
James E. Blair f88eb51b71 Protect hostvars iterations from implicit localhost
Ansible-core 2.16.4 appears to have a behavior change where it
will include the implicit localhost in hostvars, which means that
any location we iterate over hostvars and assume it's a real host
could throw an exception.  To avoid that, add checks that the
variables we are about to access on the host exist.

Change-Id: Iff89da761e5f6748b454610a64c2fdd4f5e56a77
2024-12-04 13:47:20 -08:00
..
tasks Protect hostvars iterations from implicit localhost 2024-12-04 13:47:20 -08:00
README.rst Multi-node: Set up hosts file 2017-09-22 16:25:51 -04:00

Configures the inventory hostnames in a multi-node job resolve to their respective private ipv4 addresses through the /etc/hosts file on each node.