Skip to content

Commit

Permalink
Seed workflows from plugins' content/workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
agrare committed Oct 27, 2023
1 parent 82e2139 commit cb7ec99
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/vmdb/plugins.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ def ansible_runner_content
end
end

def embedded_workflows_content
@embedded_workflows_content ||= begin
flat_map do |engine|
Dir.glob(engine.root.join("content", "workflows", "**", "*.asl"))
end
end
end

def automate_domains
@automate_domains ||= begin
require_relative 'plugins/automate_domain'
Expand Down

0 comments on commit cb7ec99

Please sign in to comment.