diff --git a/lib/ansible/cli/playbook.py b/lib/ansible/cli/playbook.py index f56c5692db0..44cc2515026 100644 --- a/lib/ansible/cli/playbook.py +++ b/lib/ansible/cli/playbook.py @@ -168,7 +168,7 @@ class PlaybookCLI(CLI): playhosts = set(inventory.get_hosts(play.hosts)) msg += "\n pattern: %s\n total hosts: %d\n hosts:" % (play.hosts, len(playhosts)) for host in playhosts: - msg += "\n %s" % host + msg += "\n %s" % host self.display.display(msg)