mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Merge pull request #74 from tbielawa/ungrouped
Fix parse_hosts to not blow up on ungrouped hosts.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user