Skip to content

Commit

Permalink
Don't try to set up the UI files at setup time
Browse files Browse the repository at this point in the history
This extra variable tells the setup script that it shouldn't
attempt to set up the various files needed to run the tower UI.
  • Loading branch information
carbonin committed Apr 4, 2017
1 parent d87f08a commit e47eafb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions lib/embedded_ansible.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,10 @@ def self.api_connection

def self.run_setup_script(exclude_tags)
json_extra_vars = {
:minimum_var_space => 0,
:http_port => HTTP_PORT,
:https_port => HTTPS_PORT
:minimum_var_space => 0,
:http_port => HTTP_PORT,
:https_port => HTTPS_PORT,
:tower_package_name => "ansible-tower-server"
}.to_json

with_inventory_file do |inventory_file_path|
Expand Down
7 changes: 4 additions & 3 deletions spec/lib/embedded_ansible_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,10 @@
let(:miq_database) { MiqDatabase.first }
let(:extra_vars) do
{
:minimum_var_space => 0,
:http_port => described_class::HTTP_PORT,
:https_port => described_class::HTTPS_PORT
:minimum_var_space => 0,
:http_port => described_class::HTTP_PORT,
:https_port => described_class::HTTPS_PORT,
:tower_package_name => "ansible-tower-server"
}.to_json
end

Expand Down

0 comments on commit e47eafb

Please sign in to comment.