Make sure forgejo capacity is numeric
This commit is contained in:
parent
bef0a4bc81
commit
fa9ed8e328
2 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ ignore: |
|
||||||
ansible/galaxy_collections
|
ansible/galaxy_collections
|
||||||
ansible/group_vars/all/vps-hosts.yml
|
ansible/group_vars/all/vps-hosts.yml
|
||||||
ansible/roles/traefik/files/traefik.yml
|
ansible/roles/traefik/files/traefik.yml
|
||||||
|
ansible/roles/forgejo_runner/files/config.yml
|
||||||
env
|
env
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
|
|
|
@ -8,7 +8,7 @@ runner:
|
||||||
# Where to store the registration result.
|
# Where to store the registration result.
|
||||||
file: /data/.runner
|
file: /data/.runner
|
||||||
# Execute how many tasks concurrently at the same time.
|
# Execute how many tasks concurrently at the same time.
|
||||||
capacity: "{{ ansible_processor_nproc }}"
|
capacity: {{ ansible_processor_nproc }}
|
||||||
# Extra environment variables to run jobs.
|
# Extra environment variables to run jobs.
|
||||||
envs: {}
|
envs: {}
|
||||||
# Extra environment variables to run jobs from a file.
|
# Extra environment variables to run jobs from a file.
|
||||||
|
|
Loading…
Reference in a new issue