automated onstall not working. fallback to manual install
This commit is contained in:
parent
d4f83dc8df
commit
c070d993f9
4 changed files with 30 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
# win_ansible_role_reaplugs236
|
||||
|
||||
Windows Ansible role to install the reaplugs236 OBS Reaper Plugin
|
||||
Windows Ansible role to install the reaplugs236 OBS Reaper Plugin:
|
||||
https://www.reaper.fm/reaplugs/
|
||||
|
|
4
defaults/main.yml
Normal file
4
defaults/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
win_reaplugs__srv: 'https://www.reaper.fm/reaplugs'
|
||||
win_reaplugs__file: 'reaplugs236_x64-install.exe'
|
||||
win_reaplugs__installpath: 'C:\Program Files\VSTPlugins\ReaPlugs'
|
14
tasks/download.yml
Normal file
14
tasks/download.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
- name: Create OBS dir
|
||||
ansible.windows.win_file:
|
||||
path: C:\OBS
|
||||
state: directory
|
||||
|
||||
- name: download reaper plugin
|
||||
ansible.windows.win_get_url:
|
||||
url: "{{ win_reaplugs__srv }}/{{ win_reaplugs__file }}"
|
||||
dest: C:\OBS\{{ win_reaplugs__file }}
|
||||
|
||||
- name: "Please install the plugin manually from the /OBS/ directory"
|
||||
ansible.builtin.pause:
|
||||
prompt: "Confirm when you installed the plugin"
|
10
tasks/main.yml
Normal file
10
tasks/main.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
- name: verify if plugin is probably installed
|
||||
ansible.windows.win_stat:
|
||||
path: "{{ win_reaplugs__installpath }}"
|
||||
register: folder_info
|
||||
|
||||
- name: download reaper plugin
|
||||
ansible.builtin.include_tasks: download.yml
|
||||
when:
|
||||
- not folder_info.stat.exists | bool
|
Loading…
Reference in a new issue