python install delete

This commit is contained in:
ByeonJungHun
2023-10-19 17:11:13 +09:00
parent 244b0ad92f
commit a1fd02ac26
4 changed files with 926 additions and 452 deletions

View File

@@ -18,7 +18,4 @@
tags: crictl
- include: admin_set.yml
tags: admin_set
- include: python.yml
tags: python
tags: admin_set

View File

@@ -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