python install delete
This commit is contained in:
@@ -18,7 +18,4 @@
|
||||
tags: crictl
|
||||
|
||||
- include: admin_set.yml
|
||||
tags: admin_set
|
||||
|
||||
- include: python.yml
|
||||
tags: python
|
||||
tags: admin_set
|
||||
@@ -1,25 +0,0 @@
|
||||
---
|
||||
- name: add apt repository
|
||||
shell: add-apt-repository ppa:deadsnakes/ppa -y
|
||||
|
||||
- name: apt update
|
||||
apt:
|
||||
name: "*"
|
||||
state: latest
|
||||
|
||||
- name: install python 3.9
|
||||
apt:
|
||||
name: python3.9
|
||||
state: present
|
||||
|
||||
- name: install pip3
|
||||
apt:
|
||||
name: python3-pip
|
||||
state: present
|
||||
|
||||
- name: setting default 3.9 version
|
||||
shell: |
|
||||
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1
|
||||
update-alternatives --set python3 /usr/bin/python3.9
|
||||
|
||||
|
||||
Reference in New Issue
Block a user