Foreman v2
/
Hosts
/
multiple_play_roles
[
zh_CN
|
ru
|
ko
|
de
|
en_GB
|
gl
|
cs_CZ
|
pl
|
en
|
zh_TW
|
sv_SE
|
it
|
es
|
nl_NL
|
pt_BR
|
ca
|
fr
|
ja
]
POST /api/hosts/multiple_play_roles
Plays Ansible roles on hosts
參數
參數名字
描述
location_id
選填
位置範圍
Validations:
Must be a Integer
organization_id
選填
組織範圍
Validations:
Must be a Integer
host_ids
必填
IDs of hosts to play roles on
Validations:
Must be an array of any type