avnes / ansible-role-kubeadm

Ansible role for installing kubeadm on Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ansible-role-kubeadm

Ansible

Ansible role for installing kubeadm.

Requirements

Poetry. Install it from https://python-poetry.org/docs/

Role Variables

kubeadm_version: latest     # It can also be a specifik version like v1.21.4
kubeadm_for_all_users: true # If false it will install in in the users ~/bin directory
command_shell: bash         # Must be bash or zsh

Dependencies

None

Example Playbook

- hosts: all
  roles:
     - { role: avnes.kubeadm }

For pip compability

poetry export --dev --output requirements.txt

Test

poetry install
poetry shell
molecule test

License

MIT

Author Information

https://github.com/avnes

About

Ansible role for installing kubeadm on Linux

License:MIT License