You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hetzner-ansible/roles/awx/templates/awx-add-job-template-config...

49 lines
2.3 KiB
Django/Jinja

{
"name": "{{ name }}",
"description": "{{ description | default("") }}",
"job_type": "{{ job_type | default("run") }}",
"inventory": "{{ inventory_id }}",
"project": "{{ project_id }}",
"playbook": "{{ playbook }}",
{# {% if credential_ids is defined %}
"credentials": [
{% for id in credential_ids %}
"{{ id }}",
{% endfor %}
]
{% endif %} #}
"scm_branch": "{{ scm_branch | default("") }}",
"forks": "{{ forks | default(0) }}",
"limit": "{{ limit | default("") }}",
"verbosity": "{{ verbosity | default(0) }}",
"extra_vars": "{{ extra_vars | default("---") }}",
"job_tags": "{{ job_tags | default("") }}",
"force_handlers": "{{ force_handlers | default(false) }}",
"skip_tags": "{{ skip_tags | default("") }}",
"start_at_task": "{{ start_at_task | default("") }}",
"timeout": "{{ timeout | default(0) }}",
"use_fact_cache": "{{ use_fact_cache | default(false) }}",
"execution_environment": "{{ execution_environment_id }}",
"host_config_key": "{{ host_config_key | default("") }}",
"ask_scm_branch_on_launch": "{{ ask_scm_branch_on_launch | default(false) }}",
"ask_diff_mode_on_launch": "{{ ask_diff_mode_on_launch | default(false) }}",
"ask_variables_on_launch": "{{ ask_variables_on_launch | default(false) }}",
"ask_limit_on_launch": "{{ ask_limit_on_launch | default(false) }}",
"ask_tags_on_launch": "{{ ask_tags_on_launch | default(false) }}",
"ask_skip_tags_on_launch": "{{ ask_skip_tags_on_launch | default(false) }}",
"ask_job_type_on_launch": "{{ ask_job_type_on_launch | default(false) }}",
"ask_verbosity_on_launch": "{{ ask_verbosity_on_launch | default(false) }}",
"ask_inventory_on_launch": "{{ ask_inventory_on_launch | default(false) }}",
"ask_credential_on_launch": "{{ ask_credential_on_launch | default(false) }}",
"survey_enabled": "{{ survey_enabled | default(false) }}",
"become_enabled": "{{ become_enabled | default(false) }}",
"diff_mode": "{{ diff_mode | default(false) }}",
"allow_simultaneous": "{{ allow_simultaneous | default(false) }}",
{% if webhook_service is defined %}
"webhook_service": "{{ webhook_service }}",
{% endif %}
{% if webhook_credential is defined %}
"webhook_credential": "{{ webhook_credential }}",
{% endif %}
"job_slice_count": "{{ job_slice_count | default(1) }}"
}