aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/compass_conf/templates/ansible_installer/openstack_juno/hosts/multinodes.tmpl
blob: ca8c793f6dc59d2c83125a50236d008e7f33f3a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
#set compute_controllers = $getVar('compute_controller', [])
#set compute_workers = $getVar('compute_worker', [])
#set network_servers = $getVar('network_server', [])
#set network_workers = $getVar('network_worker', [])
#set databases = $getVar('database', [])
#set messagings = $getVar('messaging', [])
#set images = $getVar('image', [])
#set dashboards = $getVar('dashboard', [])
#set identities = $getVar('identity', [])
#set storage_controllers = $getVar('storage_controller', [])
#set storage_volumes = $getVar('storage_volume', [])
#if not $isinstance($compute_controllers, list)
    #set compute_controllers = [$compute_controllers]
#end if
#if not $isinstance($compute_workers, list)
    #set compute_workers = [$compute_workers]
#end if
#if not $isinstance($network_servers, list)
    #set network_servers = [$network_servers]
#end if
#if not $isinstance($network_workers, list)
    #set network_workers = [$network_workers]
#end if
#if not $isinstance($databases, list)
    #set databases = [$databases]
#end if
#if not $isinstance($messagings, list)
    #set messagings = [$messagings]
#end if
#if not $isinstance($images, list)
    #set images = [$images]
#end if
#if not $isinstance($dashboards, list)
    #set dashboards = [$dashboards]
#end if
#if not $isinstance($identities, list)
    #set identities = [$identities]
#end if
#if not $isinstance($storage_controllers, list)
    #set storage_controllers = [$storage_controllers]
#end if
#if not $isinstance($storage_volumes, list)
    #set storage_volumes = [$storage_volumes]
#end if
# compute-controller
#for worker in $compute_controllers
    #set worker_ip = $worker.management.ip
    #set worker_hostname = $worker.hostname
$worker_ip $worker_hostname
#end for
# database
#for worker in $databases
    #set worker_ip = $worker.management.ip
    #set worker_hostname = $worker.hostname
$worker_ip $worker_hostname
#end for
# messaging
#for worker in $messagings
    #set worker_ip = $worker.management.ip
    #set worker_hostname = $worker.hostname
$worker_ip $worker_hostname
#end for
# storage-controller
#for worker in $storage_controllers
    #set worker_ip = $worker.management.ip
    #set worker_hostname = $worker.hostname
$worker_ip $worker_hostname
#end for
# image
#for worker in $images
    #set worker_ip = $worker.management.ip
    #set worker_hostname = $worker.hostname
$worker_ip $worker_hostname
#end for
# identity
#for worker in $identities
    #set worker_ip = $worker.management.ip
    #set worker_hostname = $worker.hostname
$worker_ip $worker_hostname
#end for
# network-server
#for worker in $network_servers
    #set worker_ip = $worker.management.ip
    #set worker_hostname = $worker.hostname
$worker_ip $worker_hostname
#end for
# dashboard
#for worker in $dashboards
    #set worker_ip = $worker.management.ip
    #set worker_hostname = $worker.hostname
$worker_ip $worker_hostname
#end for
# storage-volume
#for worker in $storage_volumes
    #set worker_ip = $worker.management.ip
    #set worker_hostname = $worker.hostname
$worker_ip $worker_hostname
#end for
# network-worker
#for worker in $network_workers
    #set worker_ip = $worker.management.ip
    #set worker_hostname = $worker.hostname
$worker_ip $worker_hostname
#end for
# compute-worker
#for worker in $compute_workers
    #set worker_ip = $worker.management.ip
    #set worker_hostname = $worker.hostname
$worker_ip $worker_hostname
#end for