From 41d0fb8c860d94b22de209ba5262212d91827259 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Sat, 18 Jan 2025 22:07:38 +0900 Subject: [PATCH] Move config j2 files out of "config" subfolder for consistency Signed-off-by: Suguru Hirahara --- .../matrix-bot-matrix-registration-bot/tasks/setup_install.yml | 2 +- .../templates/{config => }/config.yml.j2 | 0 roles/custom/matrix-bot-maubot/tasks/setup_install.yml | 2 +- .../matrix-bot-maubot/templates/{config => }/config.yaml.j2 | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename roles/custom/matrix-bot-matrix-registration-bot/templates/{config => }/config.yml.j2 (100%) rename roles/custom/matrix-bot-maubot/templates/{config => }/config.yaml.j2 (100%) diff --git a/roles/custom/matrix-bot-matrix-registration-bot/tasks/setup_install.yml b/roles/custom/matrix-bot-matrix-registration-bot/tasks/setup_install.yml index 0c3284bc0..0ac4e6a1f 100644 --- a/roles/custom/matrix-bot-matrix-registration-bot/tasks/setup_install.yml +++ b/roles/custom/matrix-bot-matrix-registration-bot/tasks/setup_install.yml @@ -15,7 +15,7 @@ - name: Ensure matrix-registration-bot configuration file created ansible.builtin.template: - src: "{{ role_path }}/templates/config/config.yml.j2" + src: "{{ role_path }}/templates/config.yml.j2" dest: "{{ matrix_bot_matrix_registration_bot_config_path }}/config.yml" owner: "{{ matrix_user_username }}" group: "{{ matrix_user_groupname }}" diff --git a/roles/custom/matrix-bot-matrix-registration-bot/templates/config/config.yml.j2 b/roles/custom/matrix-bot-matrix-registration-bot/templates/config.yml.j2 similarity index 100% rename from roles/custom/matrix-bot-matrix-registration-bot/templates/config/config.yml.j2 rename to roles/custom/matrix-bot-matrix-registration-bot/templates/config.yml.j2 diff --git a/roles/custom/matrix-bot-maubot/tasks/setup_install.yml b/roles/custom/matrix-bot-maubot/tasks/setup_install.yml index db2b44778..1c6f17404 100644 --- a/roles/custom/matrix-bot-maubot/tasks/setup_install.yml +++ b/roles/custom/matrix-bot-maubot/tasks/setup_install.yml @@ -20,7 +20,7 @@ - name: Ensure maubot configuration file created ansible.builtin.template: - src: "{{ role_path }}/templates/config/config.yaml.j2" + src: "{{ role_path }}/templates/config.yaml.j2" dest: "{{ matrix_bot_maubot_config_path }}/config.yaml" owner: "{{ matrix_user_username }}" group: "{{ matrix_user_groupname }}" diff --git a/roles/custom/matrix-bot-maubot/templates/config/config.yaml.j2 b/roles/custom/matrix-bot-maubot/templates/config.yaml.j2 similarity index 100% rename from roles/custom/matrix-bot-maubot/templates/config/config.yaml.j2 rename to roles/custom/matrix-bot-maubot/templates/config.yaml.j2