Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 907 Bytes

README.md

File metadata and controls

47 lines (31 loc) · 907 Bytes

Ansible role kubectl

Build Status

This is an ansible role to install kubectl.

Installation

$ ansible-galaxy install tottoto.kubectl

Example

- name: Example playbook to use tottoto.kubectl
  hosts: all
  become: yes
  roles:
    - tottoto.kubectl

Development

Requirements

Tests

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

License

See LICENSE.