mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Fix some typos discovered during casual reading
This commit is contained in:
@@ -60,7 +60,7 @@ class LookupModule(object):
|
||||
|
||||
my_list = terms[:]
|
||||
if len(my_list) == 0:
|
||||
raise errors.AnsibleError("with_transpose requires at least one element in each list")
|
||||
raise errors.AnsibleError("with_together requires at least one element in each list")
|
||||
return [flatten(x) for x in izip_longest(*my_list, fillvalue=None)]
|
||||
|
||||
|
||||
|
||||
@@ -353,7 +353,7 @@ def parse_kv(args):
|
||||
|
||||
def merge_hash(a, b):
|
||||
''' recursively merges hash b into a
|
||||
keys from b take precedende over keys from a '''
|
||||
keys from b take precedence over keys from a '''
|
||||
|
||||
result = copy.deepcopy(a)
|
||||
|
||||
@@ -785,7 +785,7 @@ def safe_eval(str):
|
||||
def listify_lookup_plugin_terms(terms, basedir, inject):
|
||||
|
||||
if isinstance(terms, basestring):
|
||||
# somewhat did:
|
||||
# someone did:
|
||||
# with_items: alist
|
||||
# OR
|
||||
# with_items: {{ alist }}
|
||||
|
||||
Reference in New Issue
Block a user