X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/09989944610a7ad0b3e87006b5ef7382c7f1cdda..43347d24cd2f014c5a2f1c86eb951aaa0136d292:/roles/spike-05.rb diff --git a/roles/spike-05.rb b/roles/spike-05.rb new file mode 100644 index 000000000..7dcb968b0 --- /dev/null +++ b/roles/spike-05.rb @@ -0,0 +1,44 @@ +name "spike-05" +description "Master role applied to spike-05" + +default_attributes( + :networking => { + :interfaces => { + :internal_ipv4 => { + :interface => "bond0", + :role => :internal, + :family => :inet, + :address => "10.0.32.22", + :bond => { + :slaves => %w(eth0 eth1) + } + }, + :external_ipv4 => { + :interface => "bond0.214", + :role => :external, + :family => :inet, + :address => "89.16.162.22" + }, + :external_ipv6 => { + :interface => "bond0.214", + :role => :external, + :family => :inet6, + :address => "2001:41c9:2:d6::22" + } + } + }, + :sysctl => { + :ipv6_autoconf => { + :comment => "Disable IPv6 auto-configuration on internal interface", + :parameters => { + "net.ipv6.conf.bond0.autoconf" => "0", + "net.ipv6.conf.bond0.accept_ra" => "0" + } + } + } +) + +run_list( + "role[bm]", + "role[web-frontend]" +)