mirror of
https://github.com/geerlingguy/ansible-role-pip.git
synced 2025-02-17 01:11:28 +01:00
Check major version before trying to remove externally managed.
This commit is contained in:
parent
13c187c5f8
commit
6c927a7881
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user