fix(docker): Install python-requests library for the docker module
This is the only dependency that the docker module needs. So we are installing this via the system package manager. Should be fine for now, as there does not seem to be incompatibilities or a specific version being requested.
This commit is contained in:
parent
ddd0effa0d
commit
2efc0e6f3c
2 changed files with 8 additions and 0 deletions
|
@ -55,3 +55,5 @@ docker_apt_repository: >
|
|||
deb [arch={{ docker_apt_architecture_map[ansible_architecture] }}]
|
||||
https://download.docker.com/linux/{{ ansible_distribution | lower }}
|
||||
{{ ansible_distribution_release }} stable
|
||||
|
||||
docker_requests_python_package: "python-requests"
|
||||
|
|
|
@ -43,3 +43,9 @@
|
|||
|
||||
- name: Ensure handlers are notified now to avoid firewall conflicts.
|
||||
ansible.builtin.meta: flush_handlers
|
||||
|
||||
- name: Install required python requests library
|
||||
ansible.builtin.package:
|
||||
name: "{{ docker_requests_python_package }}"
|
||||
state: present
|
||||
become: true
|
||||
|
|
Loading…
Add table
Reference in a new issue