This is an ansible role to install kubectl.
$ ansible-galaxy install tottoto.kubectl
- name: Example playbook to use tottoto.kubectl
hosts: all
become: yes
roles:
- tottoto.kubectl
Create python virtualenv.
$ pipenv install -d
Run the test. The target distribution can be specified by environment variable MOLECULE_DOCKER_IMAGE
. The default value is ubuntu:bionic
.
$ MOLECULE_DOCKER_IMAGE=ubuntu:bionic pipenv run molecule test
See LICENSE.