mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Use correct python for -c invocations in tests. (#54577)
* Use correct python for -c invocations in tests. * Only set releasever when available.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
# when: ansible_os_family == "Darwin"
|
||||
|
||||
- name: Get lxml version
|
||||
command: python -c 'from lxml import etree; print(".".join(str(v) for v in etree.LXML_VERSION))'
|
||||
command: "{{ ansible_python_interpreter }} -c 'from lxml import etree; print(\".\".join(str(v) for v in etree.LXML_VERSION))'"
|
||||
register: lxml_version
|
||||
|
||||
- name: Set lxml capabilities as variables
|
||||
|
||||
Reference in New Issue
Block a user