update and deploy files
This commit is contained in:
parent
36fdcf3d2c
commit
225646faea
4 changed files with 11 additions and 1 deletions
|
@ -1,2 +1,3 @@
|
|||
---
|
||||
win_obs_szene__project: 'default'
|
||||
win_obs_szene_files: []
|
||||
|
|
|
@ -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