tasks: main: Fix conditional for PIP script
The conditional must search the 'stdout' item to find the string we are looking for. Change-Id: I469116ffbc11160122879b6f60800c63908fec0f
This commit is contained in:
parent
f6fe09efd1
commit
fe5d99228b
|
@ -49,7 +49,7 @@
|
|||
- include_tasks: "install_{{ pip_offline_install | ternary('offline', 'online') }}.yml"
|
||||
tags:
|
||||
- pip_install-install
|
||||
when: pip_install_script.find('get-pip.py') != -1 # skip get-pip.py if a suitable pip is installed
|
||||
when: pip_install_script.stdout.find('get-pip.py') != -1 # skip get-pip.py if a suitable pip is installed
|
||||
|
||||
- include_tasks: install_source.yml
|
||||
tags:
|
||||
|
|
Loading…
Reference in New Issue