mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
No need for trailing semicolon.
This commit is contained in:
parent
ea8302e68d
commit
50586928b2
1 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ class VarsModule(object):
|
||||||
data = utils.parse_yaml_from_file(path)
|
data = utils.parse_yaml_from_file(path)
|
||||||
if type(data) != dict:
|
if type(data) != dict:
|
||||||
raise errors.AnsibleError("%s must be stored as a dictionary/hash" % path)
|
raise errors.AnsibleError("%s must be stored as a dictionary/hash" % path)
|
||||||
results = utils.combine_vars(results, data);
|
results = utils.combine_vars(results, data)
|
||||||
|
|
||||||
# load vars in inventory_dir/hosts_vars/name_of_host
|
# load vars in inventory_dir/hosts_vars/name_of_host
|
||||||
p = os.path.join(basedir, "host_vars/%s" % host.name)
|
p = os.path.join(basedir, "host_vars/%s" % host.name)
|
||||||
|
@ -61,7 +61,7 @@ class VarsModule(object):
|
||||||
data = utils.parse_yaml_from_file(path)
|
data = utils.parse_yaml_from_file(path)
|
||||||
if type(data) != dict:
|
if type(data) != dict:
|
||||||
raise errors.AnsibleError("%s must be stored as a dictionary/hash" % path)
|
raise errors.AnsibleError("%s must be stored as a dictionary/hash" % path)
|
||||||
results = utils.combine_vars(results, data);
|
results = utils.combine_vars(results, data)
|
||||||
|
|
||||||
return results
|
return results
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue