Skip to content

Commit

Permalink
Move content_tmp/ansible to content/ansible_tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
agrare committed Aug 2, 2018
1 parent 01856c8 commit 71e06cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/tasks/evm_ansible_runner.rake
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ namespace :evm do
desc "Seed galaxy roles for provider playbooks"
task :seed do
plugins_with_req_yml = Vmdb::Plugins.select do |plugin|
req_yml_path = plugin.root.join('content_tmp', 'ansible', 'requirements.yml')
req_yml_path = plugin.root.join('content', 'ansible_tmp', 'requirements.yml')
File.file?(req_yml_path)
end

plugins_with_req_yml.each do |plugin|
puts "Seeding roles for #{plugin.name}..."

roles_path = plugin.root.join('content_tmp', 'ansible', 'roles')
role_file = plugin.root.join('content_tmp', 'ansible', 'requirements.yml')
roles_path = plugin.root.join('content', 'ansible_tmp', 'roles')
role_file = plugin.root.join('content', 'ansible_tmp', 'requirements.yml')

params = ["install", :roles_path= => roles_path, :role_file= => role_file]

Expand Down

0 comments on commit 71e06cb

Please sign in to comment.