From 9b0ca504471df7f0165f474bed096c46f252ceb5 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Tue, 29 Oct 2024 08:58:00 +0100 Subject: [PATCH] reenable nominatim role for dulcy --- roles/dulcy.rb | 43 ++++++++++++++----------------------------- 1 file changed, 14 insertions(+), 29 deletions(-) diff --git a/roles/dulcy.rb b/roles/dulcy.rb index 1a1e94080..9e3b455f7 100644 --- a/roles/dulcy.rb +++ b/roles/dulcy.rb @@ -29,40 +29,25 @@ default_attributes( } } }, - :accounts => { - :users => { - :lonvia => { :status => :administrator }, - :nominatim => { - :status => :role, - :members => [:lonvia, :tomh] + :postgresql => { + :versions => ["17"], + :settings => { + :defaults => { + :work_mem => "240MB", + :effective_io_concurrency => "500" } } + }, + :nominatim => { + :dbcluster => "17/main", + :flatnode_file => "/srv/nominatim.openstreetmap.org/planet-project/nodes.store", + :enable_qa_tiles => true, + :api_workers => 14, + :api_pool_size => 10 } - # :postgresql => { - # :versions => ["15"], - # :settings => { - # :defaults => { - # :work_mem => "240MB", - # :effective_io_concurrency => "500" - # } - # } - # }, - # :nominatim => { - # :state => "standalone", - # :dbcluster => "15/main", - # :postgis => "3", - # :flatnode_file => "/ssd/nominatim/nodes.store", - # :logdir => "/ssd/nominatim/log", - # :api_flavour => "python", - # :api_workers => 14, - # :api_pool_size => 10, - # :config => { - # :forward_dependencies => "yes" - # } - # } ) run_list( "role[equinix-ams]" - # "role[nominatim]" + "role[nominatim]" ) -- 2.39.5