mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #74 from tbielawa/ungrouped
Fix parse_hosts to not blow up on ungrouped hosts.
This commit is contained in:
commit
3c20f4000f
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue