From f00d65831ae6e48665a94d3a01b70490baa25123 Mon Sep 17 00:00:00 2001 From: anima Date: Sun, 26 Jan 2025 20:27:35 +0100 Subject: [PATCH] fix naming of config file --- tasks/main.yml | 5 +++-- templates/{conf.yml.j2 => config.yml.j2} | 0 2 files changed, 3 insertions(+), 2 deletions(-) rename templates/{conf.yml.j2 => config.yml.j2} (100%) diff --git a/tasks/main.yml b/tasks/main.yml index 70d196c..109f75d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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 }}" diff --git a/templates/conf.yml.j2 b/templates/config.yml.j2 similarity index 100% rename from templates/conf.yml.j2 rename to templates/config.yml.j2