X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c3da9d2adad829b087cf19bed1f76e68681ac0e9..4f0f38cd66197af4a7b0a77b059b4fac4ddc5108:/roles/ucl.rb?ds=sidebyside diff --git a/roles/ucl.rb b/roles/ucl.rb index f0edbfdfe..a0f5331f4 100644 --- a/roles/ucl.rb +++ b/roles/ucl.rb @@ -4,12 +4,14 @@ description "Role applied to all servers at UCL" default_attributes( :location => "Slough, England", :networking => { - :netplan => true, :roles => { :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 => { @@ -19,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 => {