1
0
Fork 0
myserver-configuration/roles/traefik/tasks/base.yml

20 lines
376 B
YAML
Raw Normal View History

2023-05-03 21:30:58 +02:00
---
- name: Copy traefik conf
ansible.builtin.copy:
backup: true
src: .
2023-05-03 22:35:19 +02:00
dest: traefik/
- name: Create proxy network
community.docker.docker_network:
name: proxy
state: present
become: true
- name: Update or start container
community.docker.docker_compose:
project_src: traefik
state: present
pull: true
become: true