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
parent 013c44484a
commit d2f524fb27
6 changed files with 8 additions and 8 deletions

View File

@@ -4,7 +4,7 @@
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
- debug: msg="ACME test container IP is {{ acme_host }}; OpenSSL version is {{ openssl_version.stdout }}; cryptography version is {{ cryptography_version.stdout }}"