Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

harvester-inventory

the ansible dynamic inventory to pull hosts(nodes and virtualmachines) from Harvester.

Build

make
mv ./bin/harvester-inventory ./harvester-inventory

Example

all (nodes+virtualmachines)

ansible -m ping -i ./harvester-inventory all

nodes

ansible -m ping -i ./harvester-inventory nodes

virtualmachines in default namespace

ansible -m ping -i ./harvester-inventory vms

virtualmachines in other namespace

NAMESPACE=other ansible -m ping -i ./harvester-inventory vms

master node

ansible -m ping -i ./harvester-inventory node_label_node_role_kubernetes_io_control_plane_true

About

the ansible dynamic inventory to pull hosts from Harvester.

Topics

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages