added playbook
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after -42s

This commit is contained in:
2025-03-20 14:29:43 +01:00
parent 92277f6caf
commit c22ec41b13
2 changed files with 14 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ jobs:
ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
- run: cat docker-compose.yml
- run: docker compose start
- run: ansible-playbook start.yml
- run: echo $USER

13
start.yml Normal file
View File

@@ -0,0 +1,13 @@
- name: Start PythonFlask
gather_facts: True
become: False
hosts: localhost
connection: local
tasks:
- name: Start Docker COmpose
docker_compose_v2:
project_src: .
register: compose_output
- name: Show output
debug:
var: compose_output