config/installers: Add PDF installer adapters
[pharos.git] / config / installers / daisy / pod_config.yaml.j2
1 adapter: {{ conf['jumphost']['remote_params']['type'] }}
2 hosts:
3 - name: 'controller01'
4   roles:
5     - 'CONTROLLER_LB'
6   ipmi_ip: {{ conf['nodes'][0]['remote_management']['address'] }}
7   ipmi_user: {{ conf['nodes'][0]['remote_management']['user'] }}
8   ipmi_pass: {{ conf['nodes'][0]['remote_management']['pass'] }}
9   mac_addresses:{% for nic in conf['nodes'][0]['interfaces'] %}
10     - {{ nic['mac_address'] }}{% endfor %}
11 - name: 'controller02'
12   roles:
13     - 'CONTROLLER_LB'
14   ipmi_ip: {{ conf['nodes'][1]['remote_management']['address'] }}
15   ipmi_user: {{ conf['nodes'][1]['remote_management']['user'] }}
16   ipmi_pass: {{ conf['nodes'][1]['remote_management']['pass'] }}
17   mac_addresses:{% for nic in conf['nodes'][1]['interfaces'] %}
18     - {{ nic['mac_address'] }}{% endfor %}
19 - name: 'controller03'
20   roles:
21     - 'CONTROLLER_LB'
22   ipmi_ip: {{ conf['nodes'][2]['remote_management']['address'] }}
23   ipmi_user: {{ conf['nodes'][2]['remote_management']['user'] }}
24   ipmi_pass: {{ conf['nodes'][2]['remote_management']['pass'] }}
25   mac_addresses:{% for nic in conf['nodes'][2]['interfaces'] %}
26     - {{ nic['mac_address'] }}{% endfor %}
27 - name: 'computer01'
28   roles:
29     - 'COMPUTER'
30   ipmi_ip: {{ conf['nodes'][3]['remote_management']['address'] }}
31   ipmi_user: {{ conf['nodes'][3]['remote_management']['user'] }}
32   ipmi_pass: {{ conf['nodes'][3]['remote_management']['pass'] }}
33   mac_addresses:{% for nic in conf['nodes'][3]['interfaces'] %}
34     - {{ nic['mac_address'] }}{% endfor %}
35 - name: 'computer02'
36   roles:
37     - 'COMPUTER'
38   ipmi_ip: {{ conf['nodes'][4]['remote_management']['address'] }}
39   ipmi_user: {{ conf['nodes'][4]['remote_management']['user'] }}
40   ipmi_pass: {{ conf['nodes'][4]['remote_management']['pass'] }}
41   mac_addresses:{% for nic in conf['nodes'][4]['interfaces'] %}
42     - {{ nic['mac_address'] }}{% endfor %}
43 disks:
44   daisy: 50
45 daisy_passwd: 'r00tme'
46 {% if 'fixed_ips' in conf['jumphost'] -%}
47 daisy_gateway: {{ conf['jumphost']['fixed_ips']['admin'] }}
48 {%- else -%}
49 daisy_gateway: {{ conf['jumphost']['interfaces'][0]['address'][0] }}
50 {%- endif %}
51 ceph_disk_name: '/dev/sdb'