fix naming of config file
This commit is contained in:
@@ -34,8 +34,8 @@
|
|||||||
|
|
||||||
- name: create runner config
|
- name: create runner config
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: conf.yml.j2
|
src: config.yml.j2
|
||||||
dest: "{{ RUNNER_DIR }}/conf.yml"
|
dest: "{{ RUNNER_DIR }}/config.yml"
|
||||||
owner: "{{ RUNNER_USER }}"
|
owner: "{{ RUNNER_USER }}"
|
||||||
group: "{{ RUNNER_GROUP | default(RUNNER_USER) }}"
|
group: "{{ RUNNER_GROUP | default(RUNNER_USER) }}"
|
||||||
mode: '0660'
|
mode: '0660'
|
||||||
@@ -53,6 +53,7 @@
|
|||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
|
||||||
- name: register runner
|
- name: register runner
|
||||||
|
notify: restart runner
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: "{{ RUNNER_DIR }}/{{ RUNNER_NAME }} register --no-interactive --instance {{ RUNNER_INSTANCE }} --token {{ RUNNER_TOKEN }}"
|
cmd: "{{ RUNNER_DIR }}/{{ RUNNER_NAME }} register --no-interactive --instance {{ RUNNER_INSTANCE }} --token {{ RUNNER_TOKEN }}"
|
||||||
chdir: "{{ RUNNER_DIR }}"
|
chdir: "{{ RUNNER_DIR }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user