fix failed docker-py check

fix failed docker-py check when docker-py not installed
This commit is contained in:
Malpractis 2020-01-23 08:50:41 +11:00 committed by GitHub
parent b3d1fe6630
commit ba067abab8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'