49 lines
870 B
YAML
49 lines
870 B
YAML
---
|
|
hosts:
|
|
- hostname: default
|
|
type: "x86_64-linux-gnu"
|
|
model: "x86_64-linux-gnu"
|
|
max_slot: -1
|
|
description: "default host"
|
|
resource:
|
|
- name: mem
|
|
# - name: maxswap
|
|
# value: 10000
|
|
sched_stop:
|
|
- resname: r1m
|
|
sched: 3.5
|
|
stop: 4.5
|
|
- resname: r15s
|
|
sched: 4.0
|
|
stop: 10.0
|
|
dispatch_window:
|
|
- start_time: "9:00"
|
|
end_time: "18:00"
|
|
- start_time: "21:00"
|
|
end_time: "7:00"
|
|
|
|
- hostname: worker2
|
|
model: "!"
|
|
type: "!"
|
|
max_slot: 256
|
|
resource:
|
|
- name: gstring
|
|
value: "This is a G string"
|
|
|
|
- hostname: host3
|
|
type: "x86_64-linux-gnu"
|
|
model: "x86_64-linux-gnu"
|
|
max_slot: 128
|
|
|
|
|
|
hostgroups:
|
|
- groupname: hg1
|
|
members:
|
|
- all
|
|
exclude_members: [host3]
|
|
|
|
- groupname: hg2
|
|
members:
|
|
- worker2
|
|
- host3
|
|
|