install an extract loudness meter dock
This commit is contained in:
parent
99ad3ccf98
commit
7f50ace44f
3 changed files with 19 additions and 5 deletions
15
roles/l3d.loundnessdock/tasks/install.yml
Normal file
15
roles/l3d.loundnessdock/tasks/install.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
- name: Check if already installed
|
||||
ansible.windows.win_stat:
|
||||
path: 'C:\Program Files\obs-studio\obs-plugins\64bit\obs-loudness-dock.dll'
|
||||
register: _installed
|
||||
|
||||
- name: Check if already installed
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ _installed['stat']['exists'] }}"
|
||||
verbosity: 1
|
||||
|
||||
- name: Unzip Loudness Dock Plugin
|
||||
community.windows.win_unzip:
|
||||
src: '{{ win_streamdeck__root }}\loundness\obs-loudness-dock-0.2.1-obs28-Windows.zip'
|
||||
dest: 'C:\Program Files\obs-studio\'
|
||||
when: not _installed['stat']['exists']
|
|
@ -6,3 +6,7 @@
|
|||
- name: Download plugin
|
||||
ansible.builtin.include_tasks:
|
||||
file: 'plugin.yml'
|
||||
|
||||
- name: Install to OBS dir
|
||||
ansible.builtin.include_tasks:
|
||||
file: 'install.yml'
|
||||
|
|
|
@ -3,8 +3,3 @@
|
|||
ansible.windows.win_get_url:
|
||||
url: 'https://github.com/norihiro/obs-loudness-dock/releases/download/0.2.1/obs-loudness-dock-0.2.1-obs28-Windows.zip'
|
||||
dest: '{{ win_loundnessdoc__root }}\loundness\obs-loudness-dock-0.2.1-obs28-Windows.zip'
|
||||
|
||||
- name: Unzip Loudness Dock Plugin
|
||||
community.windows.win_unzip:
|
||||
src: '{{ win_streamdeck__root }}\loundness\obs-loudness-dock-0.2.1-obs28-Windows.zip'
|
||||
dest: 'C:\Program Files\obs-studio\'
|
||||
|
|
Loading…
Reference in a new issue