try the version check again

This commit is contained in:
Andreas Zweili 2021-10-25 22:38:16 +02:00
parent a3f53df9e9
commit 9818035f97
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
apt:
name: "python-is-python3"
state: "present"
when: ansible_facts['distribution_major_version'] >= "20"
when: ansible_facts['distribution_major_version'] | int >= 20
- name: "Upgrade to the latest packages"
apt: