Fix xml test on FreeBSD with Python 3.x.
This commit is contained in:
parent
e2e27ca192
commit
5f29058941
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
- name: Install lxml (FreeBSD)
|
||||
pkgng:
|
||||
name: py27-lxml
|
||||
name: '{{ "py27-lxml" if ansible_python.version.major == 2 else "py36-lxml" }}'
|
||||
state: present
|
||||
when: ansible_os_family == "FreeBSD"
|
||||
|
||||
|
|
Loading…
Reference in a new issue