mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Use {{ ansible_python.executable }} instead of python in integration tests. (#47340)
This commit is contained in:
parent
013c44484a
commit
d2f524fb27
6 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue