From fa9ed8e3282eb5866933298403f5d70f1c8f2df5 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 5 Jan 2025 21:40:21 +0000 Subject: [PATCH] Make sure forgejo capacity is numeric --- .yamllint.yml | 1 + ansible/roles/forgejo_runner/files/config.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.yamllint.yml b/.yamllint.yml index c6f9bc9..a049d36 100644 --- a/.yamllint.yml +++ b/.yamllint.yml @@ -5,6 +5,7 @@ ignore: | ansible/galaxy_collections ansible/group_vars/all/vps-hosts.yml ansible/roles/traefik/files/traefik.yml + ansible/roles/forgejo_runner/files/config.yml env rules: diff --git a/ansible/roles/forgejo_runner/files/config.yml b/ansible/roles/forgejo_runner/files/config.yml index d8d3d5e..01a4e3a 100644 --- a/ansible/roles/forgejo_runner/files/config.yml +++ b/ansible/roles/forgejo_runner/files/config.yml @@ -8,7 +8,7 @@ runner: # Where to store the registration result. file: /data/.runner # Execute how many tasks concurrently at the same time. - capacity: "{{ ansible_processor_nproc }}" + capacity: {{ ansible_processor_nproc }} # Extra environment variables to run jobs. envs: {} # Extra environment variables to run jobs from a file.