From 564113874be90ead2394efbd0a5a1a3d4a4aa008 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Tue, 11 Sep 2018 06:21:16 +0100 Subject: [PATCH] tests: explicitly define localhost in common-hosts --- tests/ansible/hosts/common-hosts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/ansible/hosts/common-hosts b/tests/ansible/hosts/common-hosts index 449442f6..cf84d2d1 100644 --- a/tests/ansible/hosts/common-hosts +++ b/tests/ansible/hosts/common-hosts @@ -1,5 +1,11 @@ # vim: syntax=dosini + +# This must be defined explicitly, otherwise _create_implicit_localhost() +# generates its own copy, which includes an ansible_python_interpreter that +# varies according to host machine. +localhost + [connection-delegation-test] cd-bastion cd-rack11 mitogen_via=ssh-user@cd-bastion