Skip to content

Commit

Permalink
Merge pull request #17366 from carbonin/add_memcached_bind_for_tower
Browse files Browse the repository at this point in the history
Add a memcached bind address for tower
  • Loading branch information
bdunne authored Apr 30, 2018
2 parents 03f883c + 53b2300 commit 99deff8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions lib/embedded_ansible/appliance_embedded_ansible.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,11 @@ def services

def run_setup_script(exclude_tags)
json_extra_vars = {
:minimum_var_space => 0,
:http_port => HTTP_PORT,
:https_port => HTTPS_PORT,
:tower_package_name => "ansible-tower-server"
:awx_install_memcached_bind => MiqMemcached.server_address,
: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
9 changes: 5 additions & 4 deletions spec/lib/embedded_ansible/appliance_embedded_ansible_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,11 @@
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,
:tower_package_name => "ansible-tower-server"
:awx_install_memcached_bind => MiqMemcached.server_address,
: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 99deff8

Please sign in to comment.