Bump CI to FreeBSD 11.4, 12.2. (#1657)

* Bump CI to FreeBSD 11.4, 12.2.

* Make FreeBSD Python package selection more future-proof.
This commit is contained in:
Felix Fontein 2021-01-22 15:52:40 +01:00 committed by GitHub
commit c1eb0a232c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 9 deletions

View file

@ -6,7 +6,7 @@
- name: Install lxml (FreeBSD)
package:
name: '{{ "py27-lxml" if ansible_python.version.major == 2 else "py36-lxml" }}'
name: 'py{{ ansible_python.version.major }}{{ ansible_python.version.minor }}-lxml'
state: present
when: ansible_os_family == "FreeBSD"