From 01314ea017a0c951f3694b1f7e3f33fc24de71ec Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Tue, 5 Mar 2024 12:45:25 -0800 Subject: [PATCH] add new dependencies --- roles/kubectl/tasks/debian.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/roles/kubectl/tasks/debian.yml b/roles/kubectl/tasks/debian.yml index af68d26..eec326e 100644 --- a/roles/kubectl/tasks/debian.yml +++ b/roles/kubectl/tasks/debian.yml @@ -2,7 +2,12 @@ # code: language=ansible - name: Kubectl | Debian | Make sure apt-transport-https is installed ansible.builtin.apt: - name: apt-transport-https + name: + - apt-transport-https + - ca-certificates + - curl + - software-properties-common + - gnupg2 update_cache: true register: task_result until: task_result is success @@ -16,7 +21,7 @@ - name: Kubectl | Debian | Add the kubectl repository ansible.builtin.apt_repository: - repo: https://pkgs.k8s.io/core:/stable:/v1.29/deb/ / + repo: deb https://pkgs.k8s.io/core:/stable:/v1.29/deb/ / state: present filename: kubernetes