diff --git a/lib/embedded_ansible.rb b/lib/embedded_ansible.rb index 5348925428e..1df27e1deb4 100644 --- a/lib/embedded_ansible.rb +++ b/lib/embedded_ansible.rb @@ -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| diff --git a/spec/lib/embedded_ansible_spec.rb b/spec/lib/embedded_ansible_spec.rb index 6bdeefd5142..743d9000de3 100644 --- a/spec/lib/embedded_ansible_spec.rb +++ b/spec/lib/embedded_ansible_spec.rb @@ -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