Fix xml test on FreeBSD with Python 3.x.
parent
e2e27ca192
commit
5f29058941
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
- name: Install lxml (FreeBSD)
|
- name: Install lxml (FreeBSD)
|
||||||
pkgng:
|
pkgng:
|
||||||
name: py27-lxml
|
name: '{{ "py27-lxml" if ansible_python.version.major == 2 else "py36-lxml" }}'
|
||||||
state: present
|
state: present
|
||||||
when: ansible_os_family == "FreeBSD"
|
when: ansible_os_family == "FreeBSD"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue