Compare commits

...

2 commits

Author SHA1 Message Date
L3D
346a7be759
update docs 2022-02-16 23:22:08 +01:00
L3D
225646faea
update and deploy files 2022-02-16 23:18:54 +01:00
4 changed files with 13 additions and 1 deletions

View file

@ -1,2 +1,5 @@
--- ---
win_obs_szene__project: 'default' win_obs_szene__project: 'default'
win_obs_szene_files: []
# - src: https://example.com/foo,pnf'
# file: foo.pnd

View file

@ -1,5 +1,5 @@
--- ---
- name: create folder for obs szene - name: create folder for obs szene
ansible.windows.win_file: ansible.windows.win_file:
path: "C:\obs\{{ win_obs_szene__project }}" path: 'C:\obs\{{ win_obs_szene__project }}'
state: directory state: directory

6
tasks/files.yml Normal file
View 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 }}'

View file

@ -1,3 +1,6 @@
--- ---
- name: setup directory - name: setup directory
ansible.builtin.include_tasks: directory.yml ansible.builtin.include_tasks: directory.yml
- name: download files from web
ansible.builtin.include_tasks: files.yml