X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/af08abd9a84a360f523def1d5dde94f909d8553f..fae4e6b247c04eeccc6608ae1fc93ebc63404634:/roles/kessie.rb diff --git a/roles/kessie.rb b/roles/kessie.rb index 99497331a..3505bc18a 100644 --- a/roles/kessie.rb +++ b/roles/kessie.rb @@ -2,23 +2,32 @@ name "kessie" description "Master role applied to kessie" default_attributes( + :sysctl => { + :swappiness => { + :comment => "Only swap in an emergency", + :parameters => { + "vm.swappiness" => "1" + } + } + }, :networking => { :interfaces => { - :external_ipv4 => { - :interface => "em1", + :external => { + :interface => "enp2s0f0", :role => :external, - :family => :inet, - :address => "10.42.0.98", - :hwaddress => "d8:d3:85:5d:87:5e", - :prefix => "24", - :gateway => "10.42.0.1" + :inet => { + :address => "178.250.74.36" + }, + :inet6 => { + :address => "2a02:1658:4:0:dad3:85ff:fe5d:875e" + } } - }, - :nameservers => ["10.42.0.1"] + } } ) run_list( "role[exonetric]", - "role[hp-dl180-g6]" + "role[hp-dl180-g6]", + "role[imagery]" )