deployment/roles/traefik-deploy/tasks/main.yml

13 lines
255 B
YAML

---
- name: Copy over config file.
template:
src: traefik.yml.j2
dest: "srv/traefik.yml"
notify: deploy treafik
- name: Copy over stack file.
template:
src: traefik-stack.yml.j2
dest: /srv/traefik-stack.yml
notify: deploy traefik