Skip to content

Commit

Permalink
fix: determine channel wrong interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
legau authored and haxorof committed Nov 29, 2023
1 parent fd59cc5 commit de2ae27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tasks/setup-repository-Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
_docker_enable_channels: "{{ docker_channels | intersect(_docker_merged_channels) }}"
vars:
_docker_mandatory_channel: []
_docker_merged_channels: "{{ _docker_mandatory_channel }} + [ '{{ docker_channel }}' ]"
_docker_merged_channels: "{{ _docker_mandatory_channel + [docker_channel] }}"

- name: Add Docker CE repository with correct channels (Ubuntu/Debian)
become: true
Expand Down
2 changes: 1 addition & 1 deletion tasks/setup-repository-RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
_docker_enable_channels: "{{ docker_channels | intersect(_docker_merged_channels) }}"
vars:
_docker_mandatory_channel: []
_docker_merged_channels: "{{ _docker_mandatory_channel }} + [ '{{ docker_channel }}' ]"
_docker_merged_channels: "{{ _docker_mandatory_channel + [docker_channel] }}"

- name: Add Docker CE repository
when:
Expand Down

0 comments on commit de2ae27

Please sign in to comment.