role_drone_runner_exec/templates/config.j2

32 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2022-10-17 11:06:34 +00:00
# {{ ansible_managed }}
DRONE_RPC_PROTO={{ drone_runner_exec_rpc_proto }}
DRONE_RPC_HOST={{ drone_runner_exec_rpc_host }}
DRONE_RPC_SECRET={{ drone_runner_exec_rpc_secret }}
DRONE_LOG_FILE={{ drone_runner_exec_log_file }}
DRONE_LOG_FILE_MAX_SIZE={{ drone_runner_exec_log_file_max_size }}
DRONE_LOG_FILE_MAX_AGE={{ drone_runner_exec_log_file_max_age }}
DRONE_LOG_FILE_MAX_BACKUPS={{ drone_runner_exec_log_file_max_backup }}
DRONE_DEBUG={{ drone_runner_exec_debug }}
DRONE_TRACE={{ drone_runner_exec_trace }}
{% if drone_runner_exec_rpc_dump %}
DRONE_RPC_DUMP_HTTP=true
DRONE_RPC_DUMP_HTTP_BODY=true
{% endif %}
{% if drone_runner_exec_runner_name | length > 0 %}
DRONE_RUNNER_NAME={{ drone_runner_exec_runner_name }}
{% endif %}
{% if drone_runner_exec_runner_labels | length > 0 %}
DRONE_RUNNER_LABELS={{ drone_runner_exec_runner_labels }}
{% endif %}
{% if
drone_runner_exec_ui_username | length > 0
and
drone_runner_exec_ui_password | length > 0
%}
DRONE_UI_USERNAME={{ drone_runner_exec_ui_username }}
DRONE_UI_PASSWORD={{ drone_runner_exec_ui_password }}
{% endif %}