mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 05:40:23 -07:00
pep8 fixes
This commit is contained in:
parent
27e518a0b1
commit
c0747b7baa
12 changed files with 60 additions and 56 deletions
|
@ -300,7 +300,7 @@ class Inventory(object):
|
|||
groups = [ g.name for g in host.get_groups() if g.name != 'all' ]
|
||||
results['group_names'] = sorted(groups)
|
||||
vars.update(results)
|
||||
else:
|
||||
else:
|
||||
vars.update(host.get_variables())
|
||||
return vars
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue