Skip to content

cschindlbeck/ansible-role-kubectx

 
 

Repository files navigation

ansible-role-kubectx

Ansible

Ansible role for installing kubectx.

Requirements

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

Role Variables

kubectx_version: 3.7.2
kubectx_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.kubectx }

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 kubectx on Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published