Skip to content

Commit 31a1e4d

Browse files
committed
fix: construct proper docker apt repo line with release channel and distribution variable
1 parent c77727b commit 31a1e4d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tasks/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,9 @@
103103
ansible.builtin.apt_repository:
104104
repo: >-
105105
deb [arch={{ ansible_facts.architecture }}]
106-
{{ docker_repo_url }}/{{ ansible_facts['distribution'] | lower }}
106+
{{ docker_repo_url }}/{{ docker_apt_ansible_distribution | lower }}
107107
{{ ansible_facts['lsb']['codename'] | default(ansible_facts.get('distribution_release', '')) }}
108+
{{ docker_apt_release_channel }}
108109
filename: "{{ docker_apt_filename }}"
109110
state: present
110111
when: docker_add_repo | bool and ansible_facts.os_family == 'Debian'

0 commit comments

Comments
 (0)