From b858a6e99d90888649d98b2e66399799eb33dd4c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 22 Dec 2022 19:28:44 +0000 Subject: [PATCH] Add roles for smaug and muirdris --- roles/muirdris.rb | 37 +++++++++++++++++++++++++++++++++++++ roles/smaug.rb | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 roles/muirdris.rb create mode 100644 roles/smaug.rb diff --git a/roles/muirdris.rb b/roles/muirdris.rb new file mode 100644 index 000000000..f3717a54b --- /dev/null +++ b/roles/muirdris.rb @@ -0,0 +1,37 @@ +name "muirdris" +description "Master role applied to muirdris" + +default_attributes( + :networking => { + :interfaces => { + :internal_ipv4 => { + :interface => "bond0", + :role => :internal, + :family => :inet, + :address => "10.0.64.15", + :bond => { + :mode => "802.3ad", + :lacprate => "fast", + :xmithashpolicy => "layer3+4", + :slaves => %w[eno1 eno2 eno3 eno4 eno5 eno6] + } + }, + :external_ipv4 => { + :interface => "bond0.101", + :role => :external, + :family => :inet, + :address => "184.104.226.111" + }, + :external_ipv6 => { + :interface => "bond0.101", + :role => :external, + :family => :inet6, + :address => "2001:470:1:b3b::f" + } + } + } +) + +run_list( + "role[equinix-dub]" +) diff --git a/roles/smaug.rb b/roles/smaug.rb new file mode 100644 index 000000000..0c7843741 --- /dev/null +++ b/roles/smaug.rb @@ -0,0 +1,37 @@ +name "smaug" +description "Master role applied to smaug" + +default_attributes( + :networking => { + :interfaces => { + :internal_ipv4 => { + :interface => "bond0", + :role => :internal, + :family => :inet, + :address => "10.0.64.14", + :bond => { + :mode => "802.3ad", + :lacprate => "fast", + :xmithashpolicy => "layer3+4", + :slaves => %w[eno1 eno2 eno3 eno4 eno5 eno6] + } + }, + :external_ipv4 => { + :interface => "bond0.101", + :role => :external, + :family => :inet, + :address => "184.104.226.110" + }, + :external_ipv6 => { + :interface => "bond0.101", + :role => :external, + :family => :inet6, + :address => "2001:470:1:b3b::e" + } + } + } +) + +run_list( + "role[equinix-dub]" +) -- 2.39.5