diff --git a/tasks/download.yml b/tasks/download.yml index fd99f65..75b0084 100644 --- a/tasks/download.yml +++ b/tasks/download.yml @@ -4,7 +4,7 @@ path: C:\OBS state: directory -- name: download reaper plugin +- name: Download reaper plugin ansible.windows.win_get_url: url: "{{ win_reaplugs__srv }}/{{ win_reaplugs__file }}" dest: C:\OBS\{{ win_reaplugs__file }} diff --git a/tasks/main.yml b/tasks/main.yml index 8e071ec..165dec7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,10 +1,10 @@ --- -- name: verify if plugin is probably installed +- name: Verify if plugin is probably installed ansible.windows.win_stat: path: "{{ win_reaplugs__installpath }}" register: folder_info -- name: download reaper plugin +- name: Download reaper plugin ansible.builtin.include_tasks: download.yml when: - not folder_info.stat.exists | bool