kubectx

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

Install
ansible-galaxy install avnes/ansible-role-kubectx
GitHub repository
License
mit
Downloads
128
Owner
Lead {Site Reliability, Cloud, DevOps, Platform} Engineer