Additional folder mechanism
This commit is contained in:
parent
346a7be759
commit
11a7510966
2 changed files with 13 additions and 2 deletions
|
@ -1,5 +1,9 @@
|
|||
---
|
||||
win_obs_szene__project: 'default'
|
||||
win_obs_szene_files: []
|
||||
# - src: https://example.com/foo,pnf'
|
||||
# file: foo.pnd
|
||||
# - src: https://example.com/foo.pdf'
|
||||
# file: foo.pdf
|
||||
# - src: https://example.com/bar.png'
|
||||
# file: folder1\bar.png
|
||||
win_obs_additional_dirs: []
|
||||
# - folder1
|
||||
|
|
|
@ -3,3 +3,10 @@
|
|||
ansible.windows.win_file:
|
||||
path: 'C:\obs\{{ win_obs_szene__project }}'
|
||||
state: directory
|
||||
|
||||
- name: create additional dirs
|
||||
ansible.windows.win_file:
|
||||
path: 'C:\obs\{{ win_obs_szene__project }}\{{ item }}'
|
||||
state: directory
|
||||
with_items: '{{ win_obs_additional_dirs }}'
|
||||
when: win_obs_additional_dirs | length>0
|
||||
|
|
Loading…
Reference in a new issue