adjusted list hosts across adhoc and playbook cli

This commit is contained in:
Brian Coca 2015-07-29 14:56:22 -04:00 committed by James Cammarata
commit ced93d35ca
2 changed files with 2 additions and 1 deletions

View file

@ -111,6 +111,7 @@ class AdHocCLI(CLI):
self.display.warning("provided hosts list is empty, only localhost is available")
if self.options.listhosts:
self.display.display(' hosts (%d):' % len(hosts))
for host in hosts:
self.display.display(' %s' % host)
return 0