mirror of
https://github.com/davestephens/ansible-nas
synced 2024-12-27 03:53:06 +00:00
fixing docker-py check
This commit is contained in:
parent
5a36cb6169
commit
0c04655d7f
1 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue