add Final Infrastructure Setup

This commit is contained in:
Patryk Hegenberg 2026-03-29 13:45:10 +02:00
commit 7733dde658
174 changed files with 204949 additions and 0 deletions

View file

@ -0,0 +1,50 @@
---
# TODO: this is a duplicate of already existing role: ansible/roles/test-data
- name: create test data directories
file: path={{ local_testdata_dir }}/{{ item }}
state=directory
owner="{{ localuser }}"
group="{{ localgroup }}"
mode=0755
with_items:
- test-source
- test-destination
become: True
- name: create recursive test data directories
file: path={{ local_testdata_dir }}/{{ item }}
state=directory
owner="{{ localuser }}"
group="{{ localgroup }}"
mode=0755
with_items:
- test-source-recursive
become: True
- name: create subdir 1&2
file: path={{ local_testdata_dir }}/test-source-recursive/{{ item }}
state=directory
owner="{{ localuser }}"
group="{{ localgroup }}"
mode=0755
with_items:
- subdir1
- subdir2
become: True
- name: create subdir 1_1 & 1_2
file: path={{ local_testdata_dir }}/test-source-recursive/subdir1/{{ item }}
state=directory
owner="{{ localuser }}"
group="{{ localgroup }}"
mode=0755
with_items:
- subdir1_1
- subdir1_2
become: True
- name: create test files
script: create-test-files.sh {{ local_testdata_dir }} test-source test-source-recursive "{{ localuser }}" "{{ localgroup }}"
become: True