Merge pull request #62 from zloveless/hack/deb12-externally-managed

Check major version before trying to remove externally managed.
This commit is contained in:
Jeff Geerling 2023-10-29 15:05:25 -05:00 committed by GitHub
commit 832e5ce6ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
ansible.builtin.import_tasks: debian12.yml
when:
- ansible_distribution == "Debian"
- ansible_distribution_version == "12"
- ansible_distribution_major_version|int >= 12
- name: Ensure Pip is installed.
package: