From 68bbe21da0b2f20cb1856fc68f8cbac9c637285d Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Mon, 28 Oct 2024 22:47:53 +0000 Subject: [PATCH] Remove nominatim role from dulcy --- roles/dulcy.rb | 51 +++++++++++++++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 21 deletions(-) diff --git a/roles/dulcy.rb b/roles/dulcy.rb index 2a7d8b257..1a1e94080 100644 --- a/roles/dulcy.rb +++ b/roles/dulcy.rb @@ -29,31 +29,40 @@ default_attributes( } } }, - :postgresql => { - :versions => ["15"], - :settings => { - :defaults => { - :work_mem => "240MB", - :effective_io_concurrency => "500" + :accounts => { + :users => { + :lonvia => { :status => :administrator }, + :nominatim => { + :status => :role, + :members => [:lonvia, :tomh] } } - }, - :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" - } } + # :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[equinix-ams]" + # "role[nominatim]" ) -- 2.39.5