]> git.openstreetmap.org Git - chef.git/blob - roles/azure-01.rb
Add roles for azure-01 and azure-02
[chef.git] / roles / azure-01.rb
1 name "azure-01"
2 description "Master role applied to azure-01"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :external => {
8         :interface => "bond0",
9         :role => :external,
10         :inet => {
11           :address => "103.147.22.156",
12           :prefix => "24",
13           :gateway => "103.147.22.254"
14         },
15         :bond => {
16           :mode => "802.3ad",
17           :lacprate => "slow",
18           :xmithashpolicy => "layer3+4",
19           :slaves => %w[ens1f0np0 ens1f1np1]
20         }
21       }
22     }
23   }
24 )
25
26 run_list(
27   "role[twds]"
28 )