Use {{ ansible_python.executable }} instead of python in integration tests. (#47340)

This commit is contained in:
Felix Fontein 2018-10-19 09:00:34 +02:00 committed by Martin Krizek
commit d2f524fb27
6 changed files with 8 additions and 8 deletions

View file

@ -21,7 +21,7 @@
when: ansible_os_family == 'Darwin'
- name: register pyOpenSSL version
command: python -c 'import OpenSSL; print(OpenSSL.__version__)'
command: "{{ ansible_python.executable }} -c 'import OpenSSL; print(OpenSSL.__version__)'"
register: pyopenssl_version
- name: register openssl version
@ -29,5 +29,5 @@
register: openssl_version
- name: register cryptography version
command: python -c 'import cryptography; print(cryptography.__version__)'
command: "{{ ansible_python.executable }} -c 'import cryptography; print(cryptography.__version__)'"
register: cryptography_version