Download and extract icons

This commit is contained in:
L3D 2024-02-25 21:08:54 +01:00
parent 11a77f595f
commit fabf20ab0e
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 16 additions and 0 deletions

11
tasks/download_icons.yml Normal file
View file

@ -0,0 +1,11 @@
---
- name: Download existing icons
ansible.windows.win_get_url:
url: 'https://git.chaoswest.tv/winkekatze.tv/sd-icons/archive/master.zip'
dest: '{{ win_streamdeck__root }}\streamdeck\streamdeck_icons.zip'
- name: Unzip Streamdeck Icons
community.windows.win_unzip:
src: '{{ win_streamdeck__root }}\streamdeck\streamdeck_icons.zip'
dest: '{{ win_streamdeck__root }}\streamdeck\streamdeck_icons'
recurse: true

View file

@ -6,6 +6,11 @@
ansible.builtin.include_tasks: directory.yml
when: win_streamdeck__download_icons | bool
- name: Download some generic Streamdeck Icons
ansible.builtin.include_tasks:
file: download_icons.yml
when: win_streamdeck__download_icons | bool
- name: Download defined icons
ansible.builtin.include_tasks: files.yml
when: win_streamdeck__download_icons | bool