mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-12 19:48:47 +00:00
Revert "add check and remove for docker-py"
This reverts commit b3d1fe6630
.
This commit is contained in:
parent
7675ba3fee
commit
02a45643e7
1 changed files with 0 additions and 13 deletions
|
@ -5,19 +5,6 @@
|
|||
state: present
|
||||
register: result
|
||||
until: result is succeeded
|
||||
|
||||
- name: 'Check if docker-py is installed'
|
||||
shell: pip3 show docker-py
|
||||
ignore_errors: true
|
||||
register: docker_py_check
|
||||
|
||||
- name: 'Remove docker-py if installed'
|
||||
pip:
|
||||
name: docker-py
|
||||
state: absent
|
||||
when: docker_py_check.stdout.find('docker-py') != -1
|
||||
register: result
|
||||
until: result is succeeded
|
||||
|
||||
- name: 'Install docker python module'
|
||||
pip:
|
||||
|
|
Loading…
Reference in a new issue