diff --git a/Dockerfile b/files/Dockerfile similarity index 100% rename from Dockerfile rename to files/Dockerfile diff --git a/app.py b/files/app.py similarity index 100% rename from app.py rename to files/app.py diff --git a/ausgaben_month/ausgaben.csv b/files/ausgaben_month/ausgaben.csv similarity index 100% rename from ausgaben_month/ausgaben.csv rename to files/ausgaben_month/ausgaben.csv diff --git a/cat_file b/files/cat_file similarity index 100% rename from cat_file rename to files/cat_file diff --git a/docker-compose.yml b/files/docker-compose.yml similarity index 100% rename from docker-compose.yml rename to files/docker-compose.yml diff --git a/modify_csv.py b/files/modify_csv.py similarity index 100% rename from modify_csv.py rename to files/modify_csv.py diff --git a/read_cat.py b/files/read_cat.py similarity index 100% rename from read_cat.py rename to files/read_cat.py diff --git a/requirements.txt b/files/requirements.txt similarity index 100% rename from requirements.txt rename to files/requirements.txt diff --git a/templates/add_ausgabe.html b/files/templates/add_ausgabe.html similarity index 100% rename from templates/add_ausgabe.html rename to files/templates/add_ausgabe.html diff --git a/templates/base.html b/files/templates/base.html similarity index 100% rename from templates/base.html rename to files/templates/base.html diff --git a/templates/index.html b/files/templates/index.html similarity index 100% rename from templates/index.html rename to files/templates/index.html diff --git a/templates/output.html b/files/templates/output.html similarity index 100% rename from templates/output.html rename to files/templates/output.html diff --git a/start.yml b/start.yml index 854fa49..bf2697b 100644 --- a/start.yml +++ b/start.yml @@ -7,11 +7,18 @@ project_folder: "/home/jonnybravo/.docker/pythonflask-ausgaben" docker_project_name: "pythonflaskausgabe" tasks: + - name: Create Folder + file: + path: "{{ project_folder }}" + state: directory + recurse: true + - name: Copy all Files copy: - src: "{{ playbook_dir }}/" + src: "{{ playbook_dir }}/files/" dest: "{{project_folder}}" - remote_src: True + owner: jonnybravo +# remote_src: True - name: Start Docker COmpose community.docker.docker_compose_v2: project_src: "{{ project_folder }}"