update and deploy files

This commit is contained in:
L3D 2022-02-16 23:18:54 +01:00
parent 36fdcf3d2c
commit 225646faea
Signed by: l3d
GPG key ID: CD08445BFF4313D1
4 changed files with 11 additions and 1 deletions

View file

@ -1,2 +1,3 @@
--- ---
win_obs_szene__project: 'default' win_obs_szene__project: 'default'
win_obs_szene_files: []

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