fix naming of config file

This commit is contained in:
2025-01-26 20:27:35 +01:00
parent 246d5caf45
commit f00d65831a
2 changed files with 3 additions and 2 deletions

View File

@@ -34,8 +34,8 @@
- name: create runner config
ansible.builtin.template:
src: conf.yml.j2
dest: "{{ RUNNER_DIR }}/conf.yml"
src: config.yml.j2
dest: "{{ RUNNER_DIR }}/config.yml"
owner: "{{ RUNNER_USER }}"
group: "{{ RUNNER_GROUP | default(RUNNER_USER) }}"
mode: '0660'
@@ -53,6 +53,7 @@
meta: flush_handlers
- name: register runner
notify: restart runner
ansible.builtin.command:
cmd: "{{ RUNNER_DIR }}/{{ RUNNER_NAME }} register --no-interactive --instance {{ RUNNER_INSTANCE }} --token {{ RUNNER_TOKEN }}"
chdir: "{{ RUNNER_DIR }}"