Skip to content

Commit 5a6cdf4

Browse files
authored
Fix/pin traefik version (#645)
we do not want different traefik versions hanging around
1 parent 52b4fb2 commit 5a6cdf4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

roles/docker/defaults/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ docker_apt_gpg_key_checksum: "sha256:1500c1f56fa9e26b9b8f42452a553675796ade0807c
88
docker_apt_filename: "docker"
99
docker_install_traefik: true
1010
docker_traefik_ldaps: false
11+
docker_traefik_version: 3.6.10
1112
docker_traefik_ports:
1213
- 0.0.0.0:443:443

roles/docker/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
- name: Create the Traefik loadbalancer
8383
community.docker.docker_container:
8484
name: loadbalancer
85-
image: traefik:latest
85+
image: traefik:{{ docker_traefik_version }}
8686
published_ports: "{{ docker_traefik_ports }}"
8787
pull: true
8888
restart_policy: "always"

0 commit comments

Comments
 (0)