mirror of
https://github.com/davestephens/ansible-nas
synced 2024-12-26 11:33:08 +00:00
fix failed docker-py check
fix failed docker-py check when docker-py not installed
This commit is contained in:
parent
b3d1fe6630
commit
ba067abab8
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
- name: 'Check if docker-py is installed'
|
- name: 'Check if docker-py is installed'
|
||||||
shell: pip3 show docker-py
|
shell: pip3 show docker-py
|
||||||
ignore_errors: true
|
failed_when: docker_py_check.rc != 1 and docker_py_check.rc != 0
|
||||||
register: docker_py_check
|
register: docker_py_check
|
||||||
|
|
||||||
- name: 'Remove docker-py if installed'
|
- name: 'Remove docker-py if installed'
|
||||||
|
|
Loading…
Reference in a new issue