1
0
Fork 0

add kucetl and charm.sh debian repos

This commit is contained in:
cătălin 2024-02-13 10:56:58 +01:00
commit f3da1e8b3b
Signed by: catalin
GPG key ID: 0178DF42F43E5FD2
8 changed files with 1010 additions and 1 deletions

View file

@ -1,3 +1,24 @@
- name: Add Kubernetes repository
block:
- name: Add key
ansible.builtin.shell: curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.29/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
- name: Add repo
ansible.builtin.apt_repository:
repo: 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.29/deb/ /'
state: present
filename: kubernetes
- name: add charm.sh repository
block:
- name: Add key
ansible.builtin.shell: curl -fsSL https://repo.charm.sh/apt/gpg.key | gpg --dearmor -o /etc/apt/keyrings/charm.gpg
- name: Add repo
ansible.builtin.apt_repository:
repo: "deb [signed-by=/etc/apt/keyrings/charm.gpg] https://repo.charm.sh/apt/ * *"
filename: charm.sh
- name: Install Debian packages
ansible.builtin.package:
name:
@ -8,4 +29,7 @@
- npm
- python3.11-venv
- parallel
- snapd
- kubectl
- glow
state: present