forked from abrezhnev/slimer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompute-nodes.yml
17 lines (16 loc) · 1.53 KB
/
compute-nodes.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
- hosts: compute
roles:
- { role: iface, device: p4p1, params: { type: Ethernet, bootproto: none, onboot: '"yes"', master: bond0, slave: '"yes"' } }
- { role: iface, device: p4p2, params: { type: Ethernet, bootproto: none, onboot: '"yes"', master: bond0, slave: '"yes"' } }
- { role: iface, device: bond0, params: { nozeroconf: '"yes"', bootproto: none, bonding_opts: '"mode=4 miimon=100 lacp_rate=1"', onboot: yes } }
- { role: iface, device: "bond0.{{ int_if.vlan }}", params: { type: Ethernet, vlan: '"yes"', nozeroconf: '"yes"', bootproto: static, ipaddr: "{{ int_if.ipaddr }}", netmask: "{{ int_if.netmask }}", onboot: '"yes"' } }
- { role: iface, device: "bond0.{{ storage_if.vlan }}", params: { type: Ethernet, vlan: '"yes"', nozeroconf: '"yes"', bootproto: static, ipaddr: "{{ storage_if.ipaddr }}", netmask: "{{ storage_if.netmask }}", onboot: '"yes"' } }
- { role: iface, device: "bond0.{{ ext_if.vlan }}", params: { type: Ethernet, vlan: '"yes"', nozeroconf: '"yes"', bootproto: static, ipaddr: "{{ ext_if.ipaddr }}", netmask: "{{ ext_if.netmask }}", gateway: "{{ ext_if.gateway }}", defroute: '"yes"', dns1: "{{ ext_if.dns1 }}", dns2: "{{ ext_if.dns2 }}", onboot: '"yes"' } }
- { role: iface, device: "bond0.{{ tun_if.vlan }}", params: { type: Ethernet, vlan: '"yes"', nozeroconf: '"yes"', bootproto: static, ipaddr: "{{ tun_if.ipaddr }}", netmask: "{{ tun_if.netmask }}", onboot: '"yes"' } }
- common
- openstack-common
- ceilometer-common
- ceilometer-compute
- nova-common
- nova-compute