diff --git a/tasks/docker-Debian.yml b/tasks/docker-Debian.yml index ad85d7c..d7c0b50 100644 --- a/tasks/docker-Debian.yml +++ b/tasks/docker-Debian.yml @@ -19,11 +19,11 @@ state: present vars: packages: - - apt-transport-https - - ca-certificates - - curl - - gnupg2 - - software-properties-common + - apt-transport-https + - ca-certificates + - curl + - gnupg2 + - software-properties-common - name: docker - Add docker CE repo key become: yes apt_key: @@ -52,7 +52,6 @@ update_cache: yes cache_valid_time: 3600 - # Install latest release of docker-compose (using pip3) # docker only provides pre-compiled binaries for x86_64, but not for armhf/ arm64! # but ansible needs the python package anyway @@ -88,8 +87,12 @@ - name: docker-compose - Install requirements become: yes apt: - name: python3-pip + name: "{{ packages }}" state: present + vars: + packages: + - python3-pip + - python3-setuptools - name: docker-compose - Install using pip3 become: yes pip: