X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ee603acb6bce130b494f41fd79da3a36f79de017..9a904bd3d58cb74af7fbb87c98cee21bd8d3779e:/roles/spike-01.rb diff --git a/roles/spike-01.rb b/roles/spike-01.rb index 335a81a6e..455af169e 100644 --- a/roles/spike-01.rb +++ b/roles/spike-01.rb @@ -4,6 +4,13 @@ description "Master role applied to spike-01" default_attributes( :networking => { :interfaces => { + :internal_ipv4 => { + :interface => "eth0", + :role => :internal, + :family => :inet, + :address => "146.179.159.162", + :hwaddress => "00:1a:4b:a5:0f:ca" + }, :external_ipv4 => { :interface => "eth1", :role => :external, @@ -19,14 +26,22 @@ default_attributes( :hwaddress => "00:1a:4b:a5:fd:2a" } } + }, + :sysctl => { + :ipv6_autoconf => { + :comment => "Disable IPv6 auto-configuration on internal interface", + :parameters => { + "net.ipv6.conf.eth0.autoconf" => "0", + "net.ipv6.conf.eth0.accept_ra" => "0" + } + } } ) run_list( "role[ic]", - "role[hp-g6]", + "role[hp-dl360-g6]", "role[web-frontend]", - "role[web-gpximport]", "role[web-statistics]", "role[web-cleanup]" )