From: Tom Hughes Date: Wed, 21 Apr 2021 18:31:49 +0000 (+0100) Subject: Rename thorn-01 to lockheed and give it a public IP address X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/7b349944f59c003d96922db74ac973a89a7c07c8 Rename thorn-01 to lockheed and give it a public IP address --- diff --git a/roles/lockheed.rb b/roles/lockheed.rb new file mode 100644 index 000000000..f920f6053 --- /dev/null +++ b/roles/lockheed.rb @@ -0,0 +1,35 @@ +name "lockheed" +description "Master role applied to lockheed" + +default_attributes( + :networking => { + :interfaces => { + :internal_ipv4 => { + :interface => "bond0", + :role => :internal, + :family => :inet, + :address => "10.0.48.16", + :bond => { + :slaves => %w[eth0 eth1] + } + }, + :external_ipv4 => { + :interface => "bond0.2", + :role => :external, + :family => :inet, + :address => "130.117.76.16" + }, + :external_ipv6 => { + :interface => "bond0.2", + :role => :external, + :family => :inet6, + :address => "2001:978:2:2C::172:10" + } + + } + } +) + +run_list( + "role[equinix]" +) diff --git a/roles/thorn-01.rb b/roles/thorn-01.rb deleted file mode 100644 index a64e6a29b..000000000 --- a/roles/thorn-01.rb +++ /dev/null @@ -1,22 +0,0 @@ -name "thorn-01" -description "Master role applied to thorn-01" - -default_attributes( - :networking => { - :interfaces => { - :internal_ipv4 => { - :interface => "bond0", - :role => :internal, - :family => :inet, - :address => "10.0.48.51", - :bond => { - :slaves => %w[eth0 eth1] - } - } - } - } -) - -run_list( - "role[equinix]" -)