Clarify skel_setup parameter documentation
Renaming environment_file parameter to environment clarifies that the argument is a dict, not a path to an environment file Change-Id: I51cfd7650c9da08c9250c52e7f80581c968bb5f7
This commit is contained in:
parent
1b008a52bf
commit
a054f1d147
@ -396,13 +396,13 @@ def user_defined_setup(config, inventory, is_metal):
|
||||
append_if(array=inventory[key]['hosts'], item=_key)
|
||||
|
||||
|
||||
def skel_setup(environment_file, inventory):
|
||||
def skel_setup(environment, inventory):
|
||||
"""Build out the main inventory skeleton as needed.
|
||||
|
||||
:param environment_file: ``dict`` Known environment information
|
||||
:param environment: ``dict`` Known environment information
|
||||
:param inventory: ``dict`` Living dictionary of inventory
|
||||
"""
|
||||
for key, value in environment_file.iteritems():
|
||||
for key, value in environment.iteritems():
|
||||
if key == 'version':
|
||||
continue
|
||||
for _key, _value in value.iteritems():
|
||||
|
Loading…
x
Reference in New Issue
Block a user