-
Notifications
You must be signed in to change notification settings - Fork 29
/
headnode.yml
38 lines (37 loc) · 1.46 KB
/
headnode.yml
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
---
- hosts: headnode
roles:
- {role: pre_ohpc, tags: pre_ohpc}
- {role: ohpc_install, tags: ohpc_install}
- {role: ohpc_config, tags: ohpc_config}
- {role: compute_build_vnfs, tags: compute_build_vnfs}
- {role: gpu_build_vnfs, tags: gpu_build_vnfs}
- {role: login_build_vnfs, tags: login_build_vnfs}
# By default, compute and gpu nodes use an automatic inventory with a
# group of ansible string vars to define their chroots, names, ips, etc.
- { role: build_nodes,
node_glob: "{{ compute_node_glob }}",
node_glob_bash: "{{ compute_node_glob_bash }}",
node_inventory_auto: true,
ip_minimum: "{{ compute_ip_minimum }}",
chroot: "{{ compute_chroot }}",
tags: compute_build_nodes }
- { role: build_nodes,
node_glob: "{{ gpu_node_glob }}",
node_glob_bash: "{{ gpu_node_glob_bash }}",
node_inventory_auto: true,
ip_minimum: "{{ gpu_ip_minimum }}",
chroot: "{{ gpu_chroot }}",
tags: gpu_build_nodes }
# By default, login and viz nodes use a manual inventory with an ansible
# list of dicts to define their chroots, names, ips, etc.
- { role: build_nodes,
nodes: "{{ login_nodes }}",
node_inventory_auto: false,
tags: login_build_nodes }
- { role: build_nodes,
nodes: "{{ viz_nodes }}",
node_inventory_auto: false,
tags: viz_build_nodes }
- {role: nodes_vivify, tags: nodes_vivify}
- {role: ood_install, tags: ood_install}