From e9317ec53bdddaa7d049ff84579ead28509bd7e3 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 20 Jul 2018 10:24:21 +0100 Subject: [PATCH] Add role for rhaegal --- roles/rhaegal.rb | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 roles/rhaegal.rb diff --git a/roles/rhaegal.rb b/roles/rhaegal.rb new file mode 100644 index 000000000..4fe02e110 --- /dev/null +++ b/roles/rhaegal.rb @@ -0,0 +1,26 @@ +name "rhaegal" +description "Master role applied to rhaegal" + +default_attributes( + :location => "Zagreb, Croatia", + :networking => { + :interfaces => { + :external_ipv4 => { + :interface => "enp1s0f0", + :role => :external, + :family => :inet, + :address => "10.5.0.77", + :prefix => "16", + :gateway => "10.5.0.1" + } + }, + :nameservers => [ + "10.5.0.7", + "8.8.8.8" + ] + } +) + +run_list( + "role[carnet]" +) -- 2.39.5