ricsanfre.k8s_cli
Ansible Role: Helm
This role installs Kubernetes command-line tools: Helm and Kubectl.
Requirements
None.
Role Variables
Here are the available variables with their default values (check defaults/main.yml):
- Choose to install
helm,kubectl, or both:
install_helm: true
install_kubectl: true
- Specify the operating system and architecture:
k8s_platform: linux
k8s_arch: amd64
- Define the versions of helm and kubectl to install:
helm_version: 'v3.2.1'
kubectl_version: "1.21.2"
You can find available versions for Helm here and for kubectl here. You can change helm_version and kubectl_version to upgrade or downgrade.
- Specify where to install the helm and kubectl binary:
helm_bin_path: /usr/local/bin/helm
kubectl_bin_path: /usr/local/bin/kubectl
Dependencies
None.
Example Playbook
- hosts: all
roles:
- role: ricsanfre.k8s_cli
License
MIT / BSD
Author Information
This role was created by Ricardo Sanchez.
Installa
ansible-galaxy install ricsanfre.k8s_cliLicenza
mit
Download
16.4k
Proprietario
Telecom engineer.
