X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/06c82135416343bfd18dc84a862c5d4743540ce4..f2fb9bfa575dfe8de24a4153333e033860270780:/roles/ucl.rb diff --git a/roles/ucl.rb b/roles/ucl.rb index 7f74979a5..a0f5331f4 100644 --- a/roles/ucl.rb +++ b/roles/ucl.rb @@ -8,7 +8,10 @@ default_attributes( :internal => { :inet => { :prefix => "20", - :gateway => "10.0.0.3" + :gateway => "10.0.0.3", + :routes => { + "10.0.0.0/8" => { :via => "10.0.0.3" } + } } }, :external => { @@ -18,13 +21,16 @@ default_attributes( :gateway => "193.60.236.254" } } + }, + :wireguard => { + :keepalive => 180 } } ) override_attributes( :networking => { - :nameservers => ["10.0.0.3", "8.8.8.8", "8.8.4.4"], + :nameservers => ["10.0.0.3", "1.1.1.1", "1.0.0.1"], :search => ["ucl.openstreetmap.org", "openstreetmap.org"] }, :ntp => { @@ -33,6 +39,5 @@ override_attributes( ) run_list( - "role[gb]", - "recipe[prometheus]" + "role[gb]" )