1 ##############################################################################
2 # Copyright (c) 2018 HUAWEI TECHNOLOGIES CO.,LTD and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
13 POWER_TOOL: '{{ conf['jumphost']['remote_management']['type'] }}tool' # expects string ipmitool
15 ipmiUser: {{ conf['jumphost']['remote_management']['user'] }}
16 ipmiPass: {{ conf['jumphost']['remote_management']['pass'] }}
17 ipmiVer: '{{ conf['jumphost']['remote_management']['versions'][0] }}'
28 - name: {{ conf['nodes'][0]['name'] }}
29 mac: '{{ conf['nodes'][0]['remote_management']['mac_address'] }}' # this is the ipmi mac address
31 - eth1: '{{ conf['nodes'][0]['interfaces'][0]['mac_address'] }}'
32 - eth2: '{{ conf['nodes'][0]['interfaces'][1]['mac_address'] }}'
33 - eth3: '{{ conf['nodes'][0]['interfaces'][2]['mac_address'] }}'
34 ipmiIp: {{ conf['nodes'][0]['remote_management']['address'] }}
41 - name: {{ conf['nodes'][1]['name'] }}
42 mac: '{{ conf['nodes'][1]['remote_management']['mac_address'] }}' # this is the ipmi mac address
44 - eth1: '{{ conf['nodes'][1]['interfaces'][0]['mac_address'] }}'
45 - eth2: '{{ conf['nodes'][1]['interfaces'][1]['mac_address'] }}'
46 - eth3: '{{ conf['nodes'][1]['interfaces'][2]['mac_address'] }}'
47 ipmiIp: {{ conf['nodes'][1]['remote_management']['address'] }}
53 - name: {{ conf['nodes'][2]['name'] }}
54 mac: '{{ conf['nodes'][2]['remote_management']['mac_address'] }}' # this is the ipmi mac address
56 - eth1: '{{ conf['nodes'][2]['interfaces'][0]['mac_address'] }}'
57 - eth2: '{{ conf['nodes'][2]['interfaces'][1]['mac_address'] }}'
58 - eth3: '{{ conf['nodes'][2]['interfaces'][2]['mac_address'] }}'
59 ipmiIp: {{ conf['nodes'][2]['remote_management']['address'] }}
65 - name: {{ conf['nodes'][3]['name'] }}
66 mac: '{{ conf['nodes'][3]['remote_management']['mac_address'] }}' # this is the ipmi mac address
68 - eth1: '{{ conf['nodes'][3]['interfaces'][0]['mac_address'] }}'
69 - eth2: '{{ conf['nodes'][3]['interfaces'][1]['mac_address'] }}'
70 - eth3: '{{ conf['nodes'][3]['interfaces'][2]['mac_address'] }}'
71 ipmiIp: {{ conf['nodes'][3]['remote_management']['address'] }}
76 - name: {{ conf['nodes'][4]['name'] }}
77 mac: '{{ conf['nodes'][4]['remote_management']['mac_address'] }}' # this is the ipmi mac address
79 - eth1: '{{ conf['nodes'][4]['interfaces'][0]['mac_address'] }}'
80 - eth2: '{{ conf['nodes'][4]['interfaces'][1]['mac_address'] }}'
81 - eth3: '{{ conf['nodes'][4]['interfaces'][2]['mac_address'] }}'
82 ipmiIp: {{ conf['nodes'][4]['remote_management']['address'] }}