Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/moshloop/kubectl-ansible

An ansible dynamic inventory plugin for kubernetes cluster nodes
https://github.com/moshloop/kubectl-ansible

ansible kubectl kubectl-plugins

Last synced: 2 months ago
JSON representation

An ansible dynamic inventory plugin for kubernetes cluster nodes

Awesome Lists containing this project

README

        

# kubectl-ansible

A dynamic inventory plugin for ansible that retrieves nodes from kubernetes cluster.

```bash
$ pip install kubectl-ansible
$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
master01 Ready master 7d18h v1.13.2
worker01 Ready 7d13h v1.13.2
$ kubectl ansible -m ping all
master01| SUCCESS => {
"changed": false,
"ping": "pong"
}
worker01| SUCCESS => {
"changed": false,
"ping": "pong"
}
```