clean up docker host stuff

This commit is contained in:
Pim Kunis 2023-05-20 14:01:36 +02:00
parent 1d3f4110f4
commit b31a6ab73e
16 changed files with 3 additions and 63 deletions

View file

@ -6,12 +6,9 @@
- name: Create Docker config
docker_config:
name: traefik_services
data_src: "{{ role_path }}/services.yml"
data: "{{ lookup('file', '{{ role_path }}/services.yml') }}"
use_ssh_client: true
rolling_versions: true
environment:
DOCKER_HOST: ssh://root@maestro.dmz
delegate_to: localhost
register: services
- name: Deploy Docker stack
@ -19,6 +16,3 @@
name: forgejo
compose:
- "{{ lookup('template', '{{ role_path }}/docker-stack.yml.j2') | from_yaml }}"
environment:
DOCKER_HOST: ssh://root@maestro.dmz
delegate_to: localhost