avnes / ansible-role-k0sctl

Ansible role for installing k0sctl - a CLI for the Kubernetes cluster k0s

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ansible-role-k0sctl

Ansible

Ansible role for installing k0sctl.

Requirements

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

Role Variables

k0sctl_version: 3.7.2
k0sctl_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.k0sctl }

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 k0sctl - a CLI for the Kubernetes cluster k0s

License:MIT License