fix naming of config file
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user