Skip to content

Commit

Permalink
Merge pull request #62 from zloveless/hack/deb12-externally-managed
Browse files Browse the repository at this point in the history
Check major version before trying to remove externally managed.
  • Loading branch information
geerlingguy authored Oct 29, 2023
2 parents 13c187c + 6c927a7 commit 832e5ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 832e5ce

Please sign in to comment.