Skip to content

tottoto/ansible-role-kubectl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.