Add role for karm
authorTom Hughes <tom@compton.nu>
Mon, 16 May 2016 13:20:18 +0000 (14:20 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 16 May 2016 13:20:42 +0000 (14:20 +0100)
roles/karm.rb [new file with mode: 0644]

diff --git a/roles/karm.rb b/roles/karm.rb
new file mode 100644 (file)
index 0000000..42b2e43
--- /dev/null
@@ -0,0 +1,20 @@
+name "karm"
+description "Master role applied to karm"
+
+default_attributes(
+  :networking => {
+    :interfaces => {
+      :internal_ipv4 => {
+        :interface => "enp1s0f0",
+        :role => :internal,
+        :family => :inet,
+        :address => "146.179.159.168",
+        :hwaddress => "0c:c4:7a:a3:aa:ac"
+      }
+    }
+  }
+)
+
+run_list(
+  "role[ic]"
+)