init dockhand

This commit is contained in:
2026-04-16 20:47:18 -06:00
parent 4e927aa05e
commit dd6e9ddf63
3 changed files with 68 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
- name: Create dockhand directory
file:
path: /root/dockhand
state: directory
mode: '0755'
- name: Create or update docker-compose
template:
src: templates/docker-compose.yaml.j2
dest: /root/dockhand/docker-compose.yaml
owner: root
group: root
mode: 0600
- name: Create and start dockhand
community.docker.docker_compose_v2:
project_src: /root/dockhand
build: always
register: output