Compare commits
2 commits
36fdcf3d2c
...
346a7be759
Author | SHA1 | Date | |
---|---|---|---|
|
346a7be759 | ||
|
225646faea |
4 changed files with 13 additions and 1 deletions
|
@ -1,2 +1,5 @@
|
|||
---
|
||||
win_obs_szene__project: 'default'
|
||||
win_obs_szene_files: []
|
||||
# - src: https://example.com/foo,pnf'
|
||||
# file: foo.pnd
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- name: create folder for obs szene
|
||||
ansible.windows.win_file:
|
||||
path: "C:\obs\{{ win_obs_szene__project }}"
|
||||
path: 'C:\obs\{{ win_obs_szene__project }}'
|
||||
state: directory
|
||||
|
|
6
tasks/files.yml
Normal file
6
tasks/files.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
- name: download defined files
|
||||
ansible.windows.win_get_url:
|
||||
url: '{{ item.src }}'
|
||||
dest: 'C:\obs\{{ win_obs_szene__project }}\{{ item.file }}'
|
||||
with_items: '{{ win_obs_szene_files }}'
|
|
@ -1,3 +1,6 @@
|
|||
---
|
||||
- name: setup directory
|
||||
ansible.builtin.include_tasks: directory.yml
|
||||
|
||||
- name: download files from web
|
||||
ansible.builtin.include_tasks: files.yml
|
||||
|
|
Loading…
Reference in a new issue