Параметры

Имя параметра Описание
id
обязательно

Value:

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

job_template
обязательно

Value:

Must be a Hash

job_template[name]
необязательно

Template name


Value:

Must be String

job_template[job_category]
необязательно

Job category


Value:

Must be String

job_template[description_format]
необязательно , nil разрешен

This template is used to generate the description. Input values can be used using the syntax %{package}. You may also include the job category and template name using %{job_category} and %{template_name}.


Value:

Must be String

job_template[template]
необязательно

Value:

Must be String

job_template[provider_type]
необязательно

Provider type


Value:

Must be one of: SSH.

job_template[snippet]
необязательно , nil разрешен

Value:

Must be ‘true’ or ‘false’

job_template[audit_comment]
необязательно , nil разрешен

Value:

Must be String

job_template[locked]
необязательно , nil разрешен

Заблокирован ли шаблон для редактирования


Value:

Must be ‘true’ or ‘false’

job_template[ssh]
необязательно , nil разрешен

SSH provider specific options


Value:

Must be a Hash

job_template[ssh][effective_user]
необязательно , nil разрешен

Effective user options


Value:

Must be a Hash

job_template[ssh][effective_user][value]
необязательно , nil разрешен

What user should be used to run the script (using sudo-like mechanisms)


Value:

Must be String

job_template[ssh][effective_user][overridable]
необязательно , nil разрешен

Whether it should be allowed to override the effective user from the invocation form.


Value:

Must be ‘true’ or ‘false’

job_template[ssh][effective_user][current_user]
необязательно , nil разрешен

Whether the current user login should be used as the effective user


Value:

Must be ‘true’ or ‘false’