]> git.openstreetmap.org Git - chef.git/blob - roles/yandex.rb
Add wireguard keepalives to a few more machines
[chef.git] / roles / yandex.rb
1 name "yandex"
2 description "Role applied to all servers at Yandex"
3
4 default_attributes(
5   :hosted_by => "Yandex",
6   :location => "Moscow, Russia",
7   :timezone => "Europe/Moscow",
8   :networking => {
9     :nameservers => ["8.8.8.8", "8.8.4.4"],
10     :wireguard => { :keepalive => 180 }
11   }
12 )
13
14 override_attributes(
15   :ntp => {
16     :servers => ["0.ru.pool.ntp.org", "1.ru.pool.ntp.org", "europe.pool.ntp.org"]
17   }
18 )
19
20 run_list(
21   "role[ru]"
22 )