fixing docker-py check

This commit is contained in:
Malpractis 2020-01-23 09:40:05 +11:00 committed by GitHub
parent 5a36cb6169
commit 0c04655d7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,8 +8,10 @@
- name: 'Check if docker-py is installed'
shell: pip3 show docker-py
failed_when: docker_py_check.rc != 1 and docker_py_check.rc != 0
register: docker_py_check
failed_when: docker_py_check.rc != 1 and docker_py_check.rc != 0
changed_when:
- '"docker-py" in docker_py_check.stdout'
- name: 'Remove docker-py if installed'
pip: