diff --git a/lib/ansible/runner.py b/lib/ansible/runner.py index 934de8169d..59b0491b34 100755 --- a/lib/ansible/runner.py +++ b/lib/ansible/runner.py @@ -112,6 +112,7 @@ class Runner(object): host_list = os.path.expanduser(host_list) lines = file(host_list).read().split("\n") groups = {} + groups['ungrouped'] = [] group_name = 'ungrouped' results = [] for item in lines: