Removed early check for empty inventory
This commit is contained in:
parent
8760392a95
commit
e1f2cb1d37
1 changed files with 0 additions and 2 deletions
|
@ -167,8 +167,6 @@ def main(args):
|
|||
|
||||
inventory = ansible.inventory.Inventory(options.inventory, vault_password=vault_pass)
|
||||
inventory.subset(options.subset)
|
||||
if len(inventory.list_hosts()) == 0:
|
||||
raise errors.AnsibleError("provided hosts list is empty")
|
||||
|
||||
# run all playbooks specified on the command line
|
||||
for playbook in args:
|
||||
|
|
Loading…
Reference in a new issue