repo: Move ansible setup to root dir
This commit is contained in:
parent
ff718b46ef
commit
26e56346e4
48 changed files with 176 additions and 172 deletions
16
roles/grocy/tasks/main.yml
Normal file
16
roles/grocy/tasks/main.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue