]> git.openstreetmap.org Git - chef.git/blobdiff - roles/rhaegal.rb
Enable netplan for NZ tile caches
[chef.git] / roles / rhaegal.rb
index 8554cecf376a40fb4be1a0dd5e72648888cffe64..6d0b126c30154f761bff5c00a1cf4302661c62fe 100644 (file)
@@ -7,6 +7,9 @@ default_attributes(
       :mmiler => { :status => :administrator }
     }
   },
+  :apt => {
+    :sources => ["postgresql"]
+  },
   :devices => {
     :ssd_samsung => {
       :comment => "Tune scheduler for SSD",
@@ -22,6 +25,7 @@ default_attributes(
   },
   :location => "Zagreb, Croatia",
   :networking => {
+    :netplan => true,
     :interfaces => {
       :external_ipv4 => {
         :interface => "enp1s0f0",
@@ -29,7 +33,8 @@ default_attributes(
         :family => :inet,
         :address => "10.5.0.77",
         :prefix => "16",
-        :gateway => "10.5.0.1"
+        :gateway => "10.5.0.1",
+        :public_address => "161.53.248.77"
       }
     },
     :nameservers => [