system-config/playbooks
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
..
filter_plugins dns_[a|aaaa] filter; use host for lookup 2018-09-13 22:50:40 +10:00
group_vars Put gitea06 back in the rotation 2019-06-26 16:36:57 -07:00
host_vars Exclude ansible_python_interpreter from write-inventory 2019-07-10 10:10:02 -07:00
k8s Add resources for deploying rook and xtradb to kuberenets 2019-02-05 18:52:21 +00:00
module_utils/facts/system Ensure apt is used on ubuntu hosts with zypper 2018-08-20 20:45:13 +00:00
roles Add apache restart handler for fortnebula LE setup 2019-07-03 16:04:58 -07:00
templates/clouds Use qcow2 images on fortnebula 2019-07-02 14:09:12 -07:00
zuul Exclude ansible_python_interpreter from write-inventory 2019-07-10 10:10:02 -07:00
apply-package-updates.yaml Apply package updates before we reboot in launch-node 2019-02-26 14:17:23 -08:00
base.yaml Split the base playbook into services 2019-05-19 07:31:00 -05:00
bootstrap-k8s-nodes.yaml Stop running k8s-on-openstack nested 2019-02-12 18:17:46 +00:00
bridge.yaml bridge.opendev.org: use Ansible 2.8.0 stable 2019-06-06 11:25:06 -07:00
clouds_layouts.yml Remove absentee clouds from cloud launcher 2019-07-03 14:14:27 -07:00
gitea-rename-tasks.yaml Fix gitea rename playbook org creation 2019-05-31 09:11:16 -07:00
install_puppet.yaml Handle moved puppet repos 2019-05-15 16:03:07 -07:00
nodepool_restart.yaml Add nodepool_restart playbook 2019-03-04 09:20:07 -08:00
remote_puppet_adhoc.yaml Clean up puppet variables and playbooks 2018-08-17 09:41:12 -05:00
remote_puppet_afs.yaml Split the base playbook into services 2019-05-19 07:31:00 -05:00
remote_puppet_else.yaml Split the base playbook into services 2019-05-19 07:31:00 -05:00
remote_puppet_git.yaml Put gitea06 back in the rotation 2019-06-26 16:36:57 -07:00
rename_repos.yaml More repo rename playbook fixes 2019-05-31 09:07:26 -07:00
run_cloud_launcher.yaml Name plays in playbooks 2018-09-07 10:51:56 -07:00
service-bridge.yaml Split the base playbook into services 2019-05-19 07:31:00 -05:00
service-gitea-lb.yaml Split the base playbook into services 2019-05-19 07:31:00 -05:00
service-letsencrypt.yaml Split the base playbook into services 2019-05-19 07:31:00 -05:00
service-mirror-update.yaml Move rsync mirror updates to new opendev.org mirror-update host 2019-07-02 16:42:33 +10:00
service-mirror.yaml Create opendev mirrors 2019-05-21 11:08:25 +10:00
service-nameserver.yaml Split the base playbook into services 2019-05-19 07:31:00 -05:00
service-nodepool.yaml Split the base playbook into services 2019-05-19 07:31:00 -05:00
service-registry.yaml Split the base playbook into services 2019-05-19 07:31:00 -05:00
service-zuul.yaml Split the base playbook into services 2019-05-19 07:31:00 -05:00
set-hostnames.yaml Don't gather facts in set-hostnames 2019-05-13 06:28:25 +00:00
sync-gitea-projects.yaml Add utility playbook for fixing gitea project settings 2019-03-04 16:06:49 +00:00
test-gitea.yaml Split the base playbook into services 2019-05-19 07:31:00 -05:00
unattended_upgrades.yml Rename attended_upgrades playbook to unattended_upgrades 2016-07-19 10:41:09 +02:00
update_puppet_version.yaml Only install puppet 4 if not already installed 2019-03-08 09:04:11 -08:00
update-system-config.yaml Stop running k8s-on-openstack nested 2019-02-12 18:17:46 +00:00
zuul_reconfigure.yaml Stub out zuul_reconfigure playbook 2018-09-14 09:17:36 -06:00
zuul_restart.yaml Correct typo in zuul restart playbook 2019-01-23 08:53:42 -08:00
zuul_start.yaml Use host groups for zuul playbooks 2018-09-12 12:26:43 -06:00
zuul_stop.yaml Use host groups for zuul playbooks 2018-09-12 12:26:43 -06:00