From f0b6a4ec644c17a89fc093a170cc758097816a6f Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 25 Sep 2022 22:50:18 +0100 Subject: [PATCH] Add faffy as a dev server --- roles/faffy.rb | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 roles/faffy.rb 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]" +) -- 2.39.5