Merge pull request #9913 from dedalusj/devel
Removed early check for empty inventory
This commit is contained in:
commit
771325c5c9
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ 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")
|
||||
utils.warning("provided hosts list is empty")
|
||||
|
||||
# run all playbooks specified on the command line
|
||||
for playbook in args:
|
||||
|
|
Loading…
Reference in a new issue