Install Kubectl plugin Krew in /usr/local/bin/
You need to have Kubectl installed.
ansible-galaxy install andrewrothstein.kubectl
Defaults krew_version: Sets the Krew version
Ansible Galaxy andrewrothstein.kubectl
Example use of Kubectl Krew role
- hosts: localhost
roles:
- role: andrewrothstein.kubectl
- role: cnygaard.kubectl_krew
GPLv3
Christian Nygaard