add static stack

start using remote docker hosts to deploy
This commit is contained in:
Pim Kunis 2023-05-20 12:13:29 +02:00
parent f7fa131fd8
commit 57d66c8afa
4 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,8 @@
- name: Deploy Docker stack
docker_stack:
name: static
compose:
- "{{ lookup('template', '{{ role_path }}/docker-stack.yml.j2') | from_yaml }}"
environment:
DOCKER_HOST: ssh://root@maestro.dmz
delegate_to: localhost