From 92e74a5d0cfe61b2c356318857837ea203aec3f3 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Mon, 10 Jun 2019 09:01:30 -0700 Subject: [PATCH] base-test: Move log-inventory to localhost This role is delegated to localhost and set to run_once, so it's safe to run everywhere, however, if we use it that way, we don't run it on nodeless jobs. Instead, explicitly run it on localhost so that it does run once in *all* cases. Change-Id: I52aaf33ce68bbc2a07fabe3d84b0daffa6e70f26 --- playbooks/base-test/pre.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/base-test/pre.yaml b/playbooks/base-test/pre.yaml index 8777502..6253994 100644 --- a/playbooks/base-test/pre.yaml +++ b/playbooks/base-test/pre.yaml @@ -2,6 +2,7 @@ roles: - role: emit-job-header zuul_log_url: "http://logs.openstack.org" + - log-inventory - hosts: all pre_tasks: @@ -17,7 +18,6 @@ - add-build-sshkey - start-zuul-console - ensure-output-dirs - - log-inventory - hosts: all roles: