X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/221d9c421ae736bc881266c19100d0432abcc655..5fbc96e38dd8dfcb3eb1ed0a5f4319ccaf244d6d:/roles/kessie.rb?ds=inline diff --git a/roles/kessie.rb b/roles/kessie.rb index 1e823bed2..6e47d5dbb 100644 --- a/roles/kessie.rb +++ b/roles/kessie.rb @@ -2,21 +2,25 @@ 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", - :role => :external, - :family => :inet, - :address => "178.250.74.36", - :hwaddress => "d8:d3:85:5d:87:5e" - }, - :external_ipv6 => { - :interface => "em1", + :external => { + :interface => "enp2s0f0", :role => :external, - :family => :inet6, - :address => "2a02:1658:4:0:dad3:85ff:fe5d:875e", - :hwaddress => "d8:d3:85:5d:87:5e" + :inet => { + :address => "178.250.74.36" + }, + :inet6 => { + :address => "2a02:1658:4:0:dad3:85ff:fe5d:875e" + } } } } @@ -24,7 +28,5 @@ default_attributes( run_list( "role[exonetric]", - "role[hp-dl180-g6]", - # "role[imagery]" - "role[wiki]" + "role[hp-dl180-g6]" )