mirror of
https://github.com/geerlingguy/ansible-role-pip.git
synced 2024-11-24 12:05:52 +01:00
fix yamllint
This commit is contained in:
parent
088273d11b
commit
12de34e3a9
@ -1,3 +1,4 @@
|
||||
---
|
||||
# Remove EXTERNALLY-MANAGED file if we're on Debian12
|
||||
# Related issue: https://github.com/geerlingguy/ansible-role-pip/issues/57
|
||||
- name: Get python3 version installed
|
||||
@ -8,4 +9,4 @@
|
||||
ansible.builtin.file:
|
||||
path: /usr/lib/python3.11/EXTERNALLY-MANAGED
|
||||
state: absent
|
||||
when: py3ver is defined and py3ver.stdout.find("3.11") != -1
|
||||
when: py3ver is defined and py3ver.stdout.find("3.11") != -1
|
||||
|
@ -1,8 +1,8 @@
|
||||
---
|
||||
- name: Remove externally managed from Debian 12
|
||||
ansible.builtin.import_tasks: debian12.yml
|
||||
when:
|
||||
- ansible_distribution == "Debian"
|
||||
when:
|
||||
- ansible_distribution == "Debian"
|
||||
- ansible_distribution_version == "12"
|
||||
|
||||
- name: Ensure Pip is installed.
|
||||
|
Loading…
Reference in New Issue
Block a user