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