Docstring for v2 inventory.subset

pull/8702/merge
Toshio Kuratomi 10 years ago
parent 8b8a4dd572
commit 5fe5e2d3f4

@ -58,6 +58,12 @@ class Inventory:
def also_restrict_to(self, restriction):
pass
def subset(self, subset_pattern):
"""
Limits inventory results to a subset of inventory that matches a given
pattern, such as to select a given geographic of numeric slice amongst
a previous 'hosts' selection that only select roles, or vice versa...
Corresponds to --limit parameter to ansible-playbook
"""
pass
def lift_restriction(self):
# HACK --

Loading…
Cancel
Save