darkwizard242.minikube
Ansible Role: minikube
This role installs (by default) minikube
on Debian/Ubuntu and EL systems. Minikube is a tool for running a local Kubernetes Cluster.
Requirements
No requirements.
Role Variables
Here are the available variables (found in defaults/main.yml
):
Variables list:
minikube_app: minikube
minikube_version: 1.33.1
minikube_os: "{{ ansible_system | lower }}"
minikube_architecture_map:
amd64: amd64
arm: arm64
x86_64: amd64
armv6l: armv6
armv7l: armv7
aarch64: arm64
32-bit: "386"
64-bit: amd64
minikube_dl_url: https://github.com/kubernetes/{{ minikube_app }}/releases/download/v{{ minikube_version }}/{{ minikube_app }}-{{ minikube_os }}-{{ minikube_architecture_map[ansible_architecture] }}
minikube_bin_path: "/usr/local/bin"
minikube_file_owner: root
minikube_file_group: root
minikube_file_mode: '0755'
Variables table:
Variable | Description |
---|---|
minikube_app | The app to install, which is minikube. |
minikube_version | The version to install, defaults to 1.33.1. |
minikube_os | The type of operating system. |
minikube_architecture_map | The operating system architecture. |
minikube_dl_url | The URL to download the minikube binary from. |
minikube_bin_path | The path where the minikube binary will be stored, defaults to /usr/local/bin. |
minikube_file_owner | The owner of the minikube binary file. |
minikube_file_group | The group of the minikube binary file. |
minikube_file_mode | The permissions for the minikube binary file. |
Dependencies
No dependencies.
Example Playbook
To use the role for the default installation of minikube:
- hosts: servers
roles:
- darkwizard242.minikube
To customize the installation by specifying a different minikube version:
- hosts: servers
roles:
- darkwizard242.minikube
vars:
minikube_version: 1.23.0
To change the location where the minikube binary is installed:
- hosts: servers
roles:
- darkwizard242.minikube
vars:
minikube_bin_path: /bin/
License
Author Information
This role was created by Ali Muhammad.
Informazioni sul progetto
Installs/Uninstalls 'minikube', tool for running local Kubernetes cluster.
Installa
ansible-galaxy install darkwizard242.minikube
Licenza
mit
Download
2.6k
Proprietario
Senior DevOps/CloudOps Engineer.
Dedicated to Automating everything I come across.
Love to work on and learn new technologies/tools everyday!