chore: base config and deployment for role homarr
This commit is contained in:
parent
029b1a86d4
commit
d3bdb1fdec
3 changed files with 69 additions and 2 deletions
|
|
@ -1,3 +1,19 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# tasks file for homarr
|
||||
# tasks file for homarr
|
||||
- name: Create docker compose directory
|
||||
file:
|
||||
path: "{{ homarr_docker_compose_dir }}"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
|
||||
- name: Create docker-compose file for homarr
|
||||
template:
|
||||
src: docker-compose.yml.j2
|
||||
dest: "{{ homarr_docker_compose_dir }}/docker-compose.yml"
|
||||
mode: '0644'
|
||||
|
||||
- name: Start homarr containers
|
||||
community.docker.docker_compose_v2:
|
||||
project_src: "{{ homarr_docker_compose_dir }}"
|
||||
state: present
|
||||
Loading…
Add table
Add a link
Reference in a new issue