POST /ansible/api/ansible_override_values
Create an override value for a specific ansible variable

参数

参数名字 描述
location_id
选填

根据位置界定的范围

Validations:

  • Must be a Integer

organization_id
选填

根据机构界定的范围

Validations:

  • Must be a Integer

ansible_variable_id
必填

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

override_value
必填

Validations:

  • Must be a Hash

override_value[match]
必填

替代匹配

Validations:

  • Must be a String

override_value[value]
选填 , 允许空值

覆盖值(omit 为 false 时必需)

Validations:

  • Must be one of types: string, boolean, integer, real, array, hash, yaml, json


DELETE /ansible/api/ansible_override_values/:id
Destroy an override value

参数

参数名字 描述
location_id
选填

根据位置界定的范围

Validations:

  • Must be a Integer

organization_id
选填

根据机构界定的范围

Validations:

  • Must be a Integer

id
必填

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.