Skip to content

Commit

Permalink
Check major version before trying to remove externally managed.
Browse files Browse the repository at this point in the history
  • Loading branch information
zloveless committed Oct 28, 2023
1 parent 13c187c commit 6c927a7
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 6c927a7

Please sign in to comment.