Fix xml test on FreeBSD with Python 3.x.

This commit is contained in:
Matt Clay 2019-03-28 17:02:41 -07:00
parent e2e27ca192
commit 5f29058941

View file

@ -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"