mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-01 07:27:35 +00:00
feat: 账号推送附加参数 (#10080)
* feat: 账号推送附加参数 * perf: 通过节点 资产 过滤平台api * perf: push automation params * perf: 修改playbook * perf: params serializer * perf: 账号推送playbook 调整 * perf: Automation serializer add params field * perf: params 非必填 * perf: 添加is_params 给前端判断 * perf: is_params bool * perf: 修改push account ansible逻辑 * perf: 修改获取push_kwargs方法 * perf: platform migrate * perf: 修改api * perf: 单个推送 * perf: push account * perf: 修改asset auto_config --------- Co-authored-by: feng <1304903146@qq.com> Co-authored-by: feng626 <57284900+feng626@users.noreply.github.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from rest_framework import serializers
|
||||
|
||||
example_info = [
|
||||
{"name": "name", "label": "姓名", "required": False, "default": "老广", "type": "str"},
|
||||
{"name": "name", "label": "姓名", "required": False, "default": "广州老广", "type": "str"},
|
||||
{"name": "age", "label": "年龄", "required": False, "default": 18, "type": "int"},
|
||||
]
|
||||
|
||||
|
Reference in New Issue
Block a user