From c0cfe686d186a1db56c8b1367215b207f6eefbce Mon Sep 17 00:00:00 2001 From: jonnybravo Date: Mon, 31 Mar 2025 15:21:28 +0200 Subject: [PATCH] switch to ras-dan-01 --- Dockerfile => files/Dockerfile | 0 app.py => files/app.py | 0 {ausgaben_month => files/ausgaben_month}/ausgaben.csv | 0 cat_file => files/cat_file | 0 docker-compose.yml => files/docker-compose.yml | 0 modify_csv.py => files/modify_csv.py | 0 read_cat.py => files/read_cat.py | 0 requirements.txt => files/requirements.txt | 0 {templates => files/templates}/add_ausgabe.html | 0 {templates => files/templates}/base.html | 0 {templates => files/templates}/index.html | 0 {templates => files/templates}/output.html | 0 start.yml | 11 +++++++++-- 13 files changed, 9 insertions(+), 2 deletions(-) rename Dockerfile => files/Dockerfile (100%) rename app.py => files/app.py (100%) rename {ausgaben_month => files/ausgaben_month}/ausgaben.csv (100%) rename cat_file => files/cat_file (100%) rename docker-compose.yml => files/docker-compose.yml (100%) rename modify_csv.py => files/modify_csv.py (100%) rename read_cat.py => files/read_cat.py (100%) rename requirements.txt => files/requirements.txt (100%) rename {templates => files/templates}/add_ausgabe.html (100%) rename {templates => files/templates}/base.html (100%) rename {templates => files/templates}/index.html (100%) rename {templates => files/templates}/output.html (100%) 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 }}"