Skip to content

the ansible dynamic inventory to pull hosts from Harvester.

Notifications You must be signed in to change notification settings

futuretea/harvester-inventory

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

Watchers

Forks

Packages

No packages published