system-config/playbooks/host_vars
James E. Blair ee3b273876 Exclude ansible_python_interpreter from write-inventory
Zuul now includes an ansible_python_interpreter hostvar in every
host in its inventory.  It defaults to python2.  The write-inventory
role, which takes the Zuul inventory and makes an inventory for
the fake bridge server in the gate passes that through.  Because it's
in /etc/ansible/inventory.yaml, it overrides any settings which may
arrive via group vars, but this is the way we set the interpreter
for all the hosts on bridge (we do not do so in the actual inventory
file).

To correct this, tell write-inventory to strip the
ansible_python_interpreter variable when it writes out the new
inventory.  This restores the behavior to match what happens on
the real bridge host.  One instance of setting the interpreter
for the fake "trusty" host used in base platform tests is moved to
a hostvars file to match the rest of the real hosts.

Change-Id: I60f0acb64e7b90ed8af266f21f2114fd598f4a3c
2019-07-10 10:10:02 -07:00
..
adns1.opendev.org.yaml Set ansible python version for opendev nameservers 2018-11-01 09:20:26 -07:00
bridge.openstack.org.yaml Add zuul user to bridge.openstack.org 2019-03-04 14:47:51 -08:00
graphite01.opendev.org.yaml Use handlers for letsencrypt cert updates 2019-05-14 08:14:51 +10:00
insecure-ci-registry01.opendev.org.yaml Handle registry role running under py3 2019-02-08 09:13:06 -08:00
lists.katacontainers.io.yaml Merge "Remove base.yaml things from openstack_project::server" 2018-08-17 10:43:53 +00:00
lists.openstack.org.yaml Enable SPF checking on lists 2019-06-07 10:34:33 -07:00
mirror01.dfw.rax.opendev.org.yaml mirror01.dfw.rax.opendev.org : use python3 for ansible 2019-05-22 10:03:11 +10:00
mirror01.gra1.ovh.opendev.org.yaml Add OVH GRA1 mirror 2019-06-27 10:07:44 +10:00
mirror01.iad.rax.opendev.org.yaml Add certificates for IAD/ORD opendev.org mirrors 2019-06-12 11:25:50 +10:00
mirror01.ord.rax.opendev.org.yaml Add certificates for IAD/ORD opendev.org mirrors 2019-06-12 11:25:50 +10:00
mirror01.regionone.fortnebula.opendev.org.yaml Add fortnebula mirror LE details dict 2019-07-03 14:39:25 -07:00
ns1.opendev.org.yaml Set ansible python version for opendev nameservers 2018-11-01 09:20:26 -07:00
ns2.opendev.org.yaml Set ansible python version for opendev nameservers 2018-11-01 09:20:26 -07:00
trusty.yaml Exclude ansible_python_interpreter from write-inventory 2019-07-10 10:10:02 -07:00