win_ansible_role_streamdeck/tasks/directory.yml
2022-12-28 17:31:15 +01:00

15 lines
432 B
YAML

---
- name: Create folder for obs szene
ansible.windows.win_file:
path: '{{ item }}'
state: directory
with_items:
- '{{ win_streamdeck__root }}'
- '{{ win_streamdeck__root }}\streamdeck'
- name: Create additional dirs
ansible.windows.win_file:
path: '{{ win_streamdeck__root }}\streamdeck\{{ item }}'
state: directory
with_items: '{{ win_streamdeck__dirs }}'
when: win_streamdeck__dirs | length>0