Skip to content

Commit

Permalink
Fix ansible_runner content seeding
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Fryguy committed Mar 1, 2021
1 parent 9909113 commit b38c0b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vmdb/plugins.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit b38c0b5

Please sign in to comment.