- name: Deploy Docker stack docker_stack: name: static compose: - "{{ lookup('template', '{{ role_path }}/docker-stack.yml.j2') | from_yaml }}"