Skip to content

Commit 1cfdae9

Browse files
committed
fix: use python3-docker instead of pip3 installation
1 parent 1aec019 commit 1cfdae9

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

roles/ansible-nas-docker/tasks/main.yml

+2-16
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,7 @@
11
---
2-
- name: Install python3-pip
2+
- name: Install python3-docker
33
ansible.builtin.apt:
4-
name: python3-pip
5-
state: present
6-
register: result
7-
until: result is succeeded
8-
9-
- name: Remove docker-py python module
10-
ansible.builtin.pip:
11-
name: docker-py
12-
state: absent
13-
register: result
14-
until: result is succeeded
15-
16-
- name: Install docker python module
17-
ansible.builtin.pip:
18-
name: docker
4+
name: python3-docker
195
state: present
206
register: result
217
until: result is succeeded

0 commit comments

Comments
 (0)