You've already forked role_drone_runner_exec
[INFO] Création du rôle
This commit is contained in:
31
templates/config.j2
Normal file
31
templates/config.j2
Normal file
@@ -0,0 +1,31 @@
|
||||
# {{ 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 %}
|
5
templates/override.conf.j2
Normal file
5
templates/override.conf.j2
Normal file
@@ -0,0 +1,5 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
[Service]
|
||||
User={{ drone_runner_exec_user }}
|
||||
Group={{ drone_runner_exec_group }}
|
Reference in New Issue
Block a user