From 6bfa26f6c52a7f2bb58a2fe85c7df92f8dce77cc Mon Sep 17 00:00:00 2001 From: Bas Meijer Date: Tue, 17 Dec 2024 14:10:02 +0100 Subject: [PATCH] Install k9s --- inventory/test/group_vars/all.yml | 1 + provision.yml | 7 +++++++ roles/requirements.yml | 2 ++ 3 files changed, 10 insertions(+) diff --git a/inventory/test/group_vars/all.yml b/inventory/test/group_vars/all.yml index 6b73556..5f35fb1 100644 --- a/inventory/test/group_vars/all.yml +++ b/inventory/test/group_vars/all.yml @@ -3,6 +3,7 @@ docker_install_compose: true docker_install_compose_plugin: true use_helm: true +use_k9s: true use_kbcli: true use_krew: true kubectl_ver: v1.29.3 diff --git a/provision.yml b/provision.yml index 72f5c04..8ae36db 100755 --- a/provision.yml +++ b/provision.yml @@ -98,6 +98,13 @@ ansible.builtin.include_role: name: bbaassssiiee.kubeblocks + - name: Install k9 + when: + - use_k9s is defined + - use_k9s | bool + ansible.builtin.include_role: + name: andrewrothstein.k9s + - name: Install OpenTofu when: - use_opentofu is defined diff --git a/roles/requirements.yml b/roles/requirements.yml index 186277e..8da3c8b 100644 --- a/roles/requirements.yml +++ b/roles/requirements.yml @@ -1,5 +1,7 @@ --- roles: + - src: andrewrothstein.k9s + version: v2.1.13 - src: andrewrothstein.krew version: v1.2.0 - src: andrewrothstein.kubernetes_helm