mirror of
https://github.com/geerlingguy/ansible-role-pip.git
synced 2024-11-28 12:35:42 +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
|
# Remove EXTERNALLY-MANAGED file if we're on Debian12
|
||||||
# Related issue: https://github.com/geerlingguy/ansible-role-pip/issues/57
|
# Related issue: https://github.com/geerlingguy/ansible-role-pip/issues/57
|
||||||
- name: Get python3 version installed
|
- name: Get python3 version installed
|
||||||
@ -8,4 +9,4 @@
|
|||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: /usr/lib/python3.11/EXTERNALLY-MANAGED
|
path: /usr/lib/python3.11/EXTERNALLY-MANAGED
|
||||||
state: absent
|
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
|
- name: Remove externally managed from Debian 12
|
||||||
ansible.builtin.import_tasks: debian12.yml
|
ansible.builtin.import_tasks: debian12.yml
|
||||||
when:
|
when:
|
||||||
- ansible_distribution == "Debian"
|
- ansible_distribution == "Debian"
|
||||||
- ansible_distribution_version == "12"
|
- ansible_distribution_version == "12"
|
||||||
|
|
||||||
- name: Ensure Pip is installed.
|
- name: Ensure Pip is installed.
|
||||||
|
Loading…
Reference in New Issue
Block a user