From ff232117cbcad0c61be0665a2dbf73c48d920905 Mon Sep 17 00:00:00 2001 From: muppeth Date: Wed, 31 Jan 2024 00:44:24 +0100 Subject: [PATCH] added theme version --- tasks/custom_themes.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tasks/custom_themes.yml b/tasks/custom_themes.yml index fdc54f0..1d21277 100644 --- a/tasks/custom_themes.yml +++ b/tasks/custom_themes.yml @@ -2,9 +2,12 @@ - name: "[THEME] - Get repo" git: - repo: "{{ item.repo }}" - dest: "{{ lufi_app_dir }}/themes/{{ item.name }}" + repo: "{{ theme.repo }}" + dest: "{{ lufi_app_dir }}/themes/{{ theme.name }}" + version: '{{ theme.version }}' with_items: "{{ lufi_custom_themes }}" + loop_control: + loop_var: 'theme' become: true become_user: "{{ lufi_username }}"