repo: Move ansible setup to root dir

This commit is contained in:
Marty Oehme 2025-07-16 22:33:28 +02:00
parent ff718b46ef
commit 7a37d60494
Signed by: Marty
GPG key ID: 4E535BC19C61886E
48 changed files with 127 additions and 172 deletions

View file

@ -0,0 +1,16 @@
---
- name: Create grocy stack environment directory
ansible.builtin.file:
state: directory
path: "{{ stack_grocy_env_dir }}"
owner: root
group: root
mode: 0700
- name: Start the compose stack
community.docker.docker_compose_v2:
project_name: stack_grocy
definition: "{{ lookup('template', 'docker-compose.yaml.j2') | from_yaml }}"
remove_orphans: true
wait: true
wait_timeout: 60