Add role for albi
authorTom Hughes <tom@compton.nu>
Thu, 19 Mar 2020 08:42:38 +0000 (08:42 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 19 Mar 2020 08:42:38 +0000 (08:42 +0000)
roles/albi.rb [new file with mode: 0644]

diff --git a/roles/albi.rb b/roles/albi.rb
new file mode 100644 (file)
index 0000000..ea0a2a9
--- /dev/null
@@ -0,0 +1,29 @@
+name "albi"
+description "Master role applied to albi"
+
+default_attributes(
+  :networking => {
+    :interfaces => {
+      :external_ipv4 => {
+        :interface => "enp1s0f0",
+        :role => :external,
+        :family => :inet,
+        :address => "51.159.53.238",
+        :prefix => "24",
+        :gateway => "51.159.53.1"
+      },
+      :external_ipv6 => {
+        :interface => "enp1s0f0",
+        :role => :external,
+        :family => :inet6,
+        :address => "2001:bc8:1200:4:dac4:97ff:fe8a:9cfc",
+        :prefix => "64",
+        :gateway => "fe80::a293:51ff:fea2:ded5"
+      }
+    }
+  }
+)
+
+run_list(
+  "role[scaleway]"
+)