Skip to content

Commit

Permalink
Fix docker by not installing docker.io on debian11 (compose recommend…
Browse files Browse the repository at this point in the history
…ed pkg)
  • Loading branch information
Julien Girardin committed May 30, 2023
1 parent 038cffb commit c623b16
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions roles/apiserver_docker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
{%- else -%}
{{ python2_docker }}
{%- endif -%}
install_recommends: >- # docker-compose breaks docker as it recommends docker.io on debian 11 (at least)
{%- if ansible_pkg_mgr == "apt" -%}
false
{%- else -%}
{{ omit }}
{%- endif -%}
state: present
register: compose_installed

Expand Down

0 comments on commit c623b16

Please sign in to comment.