Skip to content

Commit

Permalink
Merge pull request #43 from enix/fix_debian11_docker
Browse files Browse the repository at this point in the history
Fix docker by not installing docker.io on debian11 (compose recommended pkg)
  • Loading branch information
Zempashi authored May 31, 2023
2 parents 038cffb + c623b16 commit bbf505b
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 bbf505b

Please sign in to comment.