-
Notifications
You must be signed in to change notification settings - Fork 3
/
hosts.yaml
53 lines (52 loc) · 2.22 KB
/
hosts.yaml
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
# Software Name : HSLinUCB
# SPDX-FileCopyrightText: Copyright (c) 2021 Orange
# SPDX-License-Identifier: GPL-2.0
#
# This software is distributed under the GNU General Public License v2.0 license
#
# Author: David DELANDE <[email protected]> et al
all:
vars:
openstack_network: 192.168.1.0/24
ansible_ssh_private_key_file: hslinucb_ssh.key
external_http_proxy: "http://myproxy:8080"
master:
hosts:
master1:
ansible_host: <master1 floating ip>
ansible_user: <master1 remote ssh user>
worker:
hosts:
worker3:
ansible_host: <worker3 ip address on openstack private network>
ansible_ssh_common_args: "-o ProxyCommand=\"ssh -i hslinucb_ssh.key -W %h:%p <master1 remote ssh user>@<master1 floating ip>\""
ansible_user: <worker3 remote ssh user>
worker2:
ansible_host: <worker2 ip address on openstack private network>
ansible_ssh_common_args: "-o ProxyCommand=\"ssh -i hslinucb_ssh.key -W %h:%p <master1 remote ssh user>@<master1 floating ip>\""
ansible_user: <worker2 remote ssh user>
worker1:
ansible_host: <worker1 ip address on openstack private network>
ansible_ssh_common_args: "-o ProxyCommand=\"ssh -i hslinucb_ssh.key -W %h:%p <master1 remote ssh user>@<master1 floating ip>\""
ansible_user: <worker1 remote ssh user>
stress:
hosts:
stress2:
ansible_host: <stress2 ip address on openstack private network>
ansible_ssh_common_args: "-o ProxyCommand=\"ssh -i hslinucb_ssh.key -W %h:%p <master1 remote ssh user>@<master1 floating ip>\""
ansible_user: <stress2 remote ssh user>
stress1:
ansible_host: <stress1 ip address on openstack private network>
ansible_ssh_common_args: "-o ProxyCommand=\"ssh -i hslinucb_ssh.key -W %h:%p <master1 remote ssh user>@<master1 floating ip>\""
ansible_user: <stress1 remote ssh user>
agent:
hosts:
agent1:
ansible_host: <agent1 ip address on openstack private network>
ansible_ssh_common_args: "-o ProxyCommand=\"ssh -i hslinucb_ssh.key -W %h:%p <master1 remote ssh user>@<master1 floating ip\""
ansible_user: <agent1 remote ssh user>
vars:
jupyterlab_account:
- user:
login: <jupyter login>
password: <jupyter password>