From: Tom Hughes Date: Sun, 25 Sep 2022 21:50:18 +0000 (+0100) Subject: Add faffy as a dev server X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/f0b6a4ec644c17a89fc093a170cc758097816a6f?hp=166cf2983434a0a2509387466df3461b18a39625 Add faffy as a dev server --- diff --git a/roles/faffy.rb b/roles/faffy.rb new file mode 100644 index 000000000..fd294f1fa --- /dev/null +++ b/roles/faffy.rb @@ -0,0 +1,35 @@ +name "faffy" +description "Master role applied to faffy" + +default_attributes( + :networking => { + :interfaces => { + :internal_ipv4 => { + :interface => "bond0", + :role => :internal, + :family => :inet, + :address => "10.0.48.3", + :bond => { + :slaves => %w[eno1 eno2] + } + }, + :external_ipv4 => { + :interface => "bond0.2", + :role => :external, + :family => :inet, + :address => "130.117.76.3" + }, + :external_ipv6 => { + :interface => "bond0.2", + :role => :external, + :family => :inet6, + :address => "2001:978:2:2C::172:3" + } + } + } +) + +run_list( + "role[equinix-ams]", + "role[dev]" +)