deploy_gitea_runner/defaults/main.yml

38 lines
1.1 KiB
YAML
Raw Normal View History

2023-06-24 15:44:22 +00:00
---
2023-08-11 18:53:23 +00:00
# defaults file for deploy_gitea_runner
2023-08-10 16:09:44 +00:00
deploy_gitea_runner_version: latest
2023-08-11 18:53:23 +00:00
deploy_gitea_runner_deploy_method: host # deployment method, either host or docker.
2023-07-27 17:12:18 +00:00
deploy_gitea_runner_directory: /opt/gitea-actions
2023-07-27 13:11:38 +00:00
deploy_gitea_runner_timezone: "Europe/Paris"
deploy_gitea_runner_register: false
2023-07-27 13:11:38 +00:00
deploy_gitea_runner_start_service: false
2023-07-27 17:12:18 +00:00
deploy_gitea_runner_server_url: https://git.example.com
deploy_gitea_runner_server_token: ""
deploy_gitea_runner_name: gitea-runner
2023-07-27 13:11:38 +00:00
deploy_gitea_runner_config:
log:
2023-08-10 16:09:44 +00:00
level: info
2023-07-27 13:11:38 +00:00
runner:
file: "{{ deploy_gitea_runner_directory }}/.runner" # this HAS TO BE .runner if deploy_gitea_runner_deploy_method is docker
2023-07-27 13:11:38 +00:00
capacity: 1
timeout: 3h
insecure: false
fetch_timeout: 5s
2023-08-10 16:09:44 +00:00
fetch_interval: 2s
labels: []
2023-07-27 13:11:38 +00:00
cache:
2023-07-27 17:12:18 +00:00
enabled: true
dir: "{{ deploy_gitea_runner_directory }}" # this HAS TO BE /cache if deploy_gitea_runner_deploy_method is docker
host: 127.0.0.1
port: 4974
external_server: ""
2023-07-27 13:11:38 +00:00
container:
2023-08-10 16:09:44 +00:00
network: ""
privileged: false
options: ""
2023-08-10 16:09:44 +00:00
workdir_parent:
valid_volumes: []
docker_host: "-"
2023-08-10 16:09:44 +00:00
host:
workdir_parent: ""