]> git.openstreetmap.org Git - chef.git/commitdiff
Add roles for stormfly-03 and stormfly-04
authorTom Hughes <tom@compton.nu>
Thu, 21 May 2020 10:28:01 +0000 (11:28 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 21 May 2020 10:28:01 +0000 (11:28 +0100)
roles/stormfly-03.rb [new file with mode: 0644]
roles/stormfly-04.rb [new file with mode: 0644]

diff --git a/roles/stormfly-03.rb b/roles/stormfly-03.rb
new file mode 100644 (file)
index 0000000..31f5d3d
--- /dev/null
@@ -0,0 +1,25 @@
+name "stormfly-03"
+description "Master role applied to stormfly-03"
+
+default_attributes(
+  :networking => {
+    :interfaces => {
+      :external_ipv4 => {
+        :interface => "eno1",
+        :role => :external,
+        :family => :inet,
+        :address => "140.211.167.99"
+      },
+      :external_ipv6 => {
+        :interface => "eno1",
+        :role => :external,
+        :family => :inet6,
+        :address => "2605:bc80:3010:700::8cd3:a763"
+      }
+    }
+  }
+)
+
+run_list(
+  "role[osuosl]"
+)
diff --git a/roles/stormfly-04.rb b/roles/stormfly-04.rb
new file mode 100644 (file)
index 0000000..20a55a9
--- /dev/null
@@ -0,0 +1,25 @@
+name "stormfly-04"
+description "Master role applied to stormfly-04"
+
+default_attributes(
+  :networking => {
+    :interfaces => {
+      :external_ipv4 => {
+        :interface => "eno1",
+        :role => :external,
+        :family => :inet,
+        :address => "140.211.167.100"
+      },
+      :external_ipv6 => {
+        :interface => "eno1",
+        :role => :external,
+        :family => :inet6,
+        :address => "2605:bc80:3010:700::8cd3:a764"
+      }
+    }
+  }
+)
+
+run_list(
+  "role[osuosl]"
+)