]> git.openstreetmap.org Git - chef.git/commitdiff
Add role for rhaegal
authorTom Hughes <tom@compton.nu>
Fri, 20 Jul 2018 09:24:21 +0000 (10:24 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 20 Jul 2018 09:24:21 +0000 (10:24 +0100)
roles/rhaegal.rb [new file with mode: 0644]

diff --git a/roles/rhaegal.rb b/roles/rhaegal.rb
new file mode 100644 (file)
index 0000000..4fe02e1
--- /dev/null
@@ -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]"
+)