From bc922cd54cb62eece7d11c63cb69393b75de5f87 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 31 Oct 2020 15:36:48 +0000 Subject: [PATCH] Switch web site to readonly mode on using snap-01 --- roles/web-db.rb | 2 +- roles/web.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/web-db.rb b/roles/web-db.rb index 3db0cc4a7..c03da5277 100644 --- a/roles/web-db.rb +++ b/roles/web-db.rb @@ -3,6 +3,6 @@ description "Role applied to all servers needing to find the main database" default_attributes( :web => { - :database_host => "karm.ams.openstreetmap.org" + :database_host => "snap-01.ams.openstreetmap.org" } ) diff --git a/roles/web.rb b/roles/web.rb index 594c18f84..b0d9d4b99 100644 --- a/roles/web.rb +++ b/roles/web.rb @@ -16,7 +16,7 @@ default_attributes( :pool_idle_time => 3600 }, :web => { - :status => "online", + :status => "database_readonly", :memcached_servers => %w[spike-06.ams spike-07.ams spike-08.ams] } ) -- 2.43.2