mpdehaan/ansible — Issue #61: tool to manipulate inventory file
Author: mpdehaan
Created: 2012-03-01 13:19:06+00:00
State: open

--list-groups HOST

list hosts in groups

===

--change-groups HOST --groups "g1,g2,g3"

edit what groups a host is in

===

--add-group dbservers

add a new group

===

--remove-group dbservers

remove a group (add systems back to general population?)

===

--test "web*"

see what hosts are matched by a pattern

===

-i specify inventory/hosts file (make option consistent with /bin/ansible and ansible-playbook)

===