From b38c0b5bade78ebdda00bbd81e05f68d58b18b72 Mon Sep 17 00:00:00 2001 From: Jason Frey Date: Mon, 1 Mar 2021 16:17:40 -0500 Subject: [PATCH] Fix ansible_runner content seeding The fetch_ansible_galaxy code, when called at run-time works correctly, however, this method, meant for seeding galaxy roles at build time, incorrectly looked at the root directory instead of the roles directory, and so did nothing. --- lib/vmdb/plugins.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vmdb/plugins.rb b/lib/vmdb/plugins.rb index 477c5f32d243..3b7ed7a6896d 100644 --- a/lib/vmdb/plugins.rb +++ b/lib/vmdb/plugins.rb @@ -55,7 +55,7 @@ def ansible_content def ansible_runner_content @ansible_runner_content ||= begin map do |engine| - content_dir = engine.root.join("content", "ansible_runner") + content_dir = engine.root.join("content", "ansible_runner", "roles") next unless File.exist?(content_dir.join("requirements.yml")) [engine, content_dir]