terraform script add

This commit is contained in:
ByeonJungHun
2023-10-19 16:35:47 +09:00
commit 65f305d107
947 changed files with 81629 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
---
- 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