Fix xml test on FreeBSD with Python 3.x.

pull/54569/head
Matt Clay 5 years ago
parent e2e27ca192
commit 5f29058941

@ -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…
Cancel
Save