]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ouroboros.rb
Add roles from the private repository
[chef.git] / roles / ouroboros.rb
diff --git a/roles/ouroboros.rb b/roles/ouroboros.rb
new file mode 100644 (file)
index 0000000..4160db3
--- /dev/null
@@ -0,0 +1,32 @@
+name "ouroboros"
+description "Master role applied to ouroboros"
+
+default_attributes(
+  :networking => {
+    :interfaces => {
+      :internal_ipv4 => {
+        :interface => "eth0",
+        :role => :internal,
+        :family => :inet,
+        :address => "146.179.159.172"
+      },
+      :external_ipv4 => {
+        :interface => "eth1",
+        :role => :external,
+        :family => :inet,
+        :address => "193.63.75.106"
+      },
+      :external_ipv6 => {
+        :interface => "eth1",
+        :role => :external,
+        :family => :inet6,
+        :address => "2001:630:12:500:223:7dff:feea:813a"
+      }
+    }
+  }
+)
+
+run_list(
+  "role[ic]",
+  "role[wiki-new]"
+)