mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-02 23:31:25 -07:00
Minor typos (#50371)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
67b455a8ac
commit
4817dcd0fc
9 changed files with 10 additions and 11 deletions
|
@ -158,7 +158,6 @@ class Task(Base, Conditional, Taggable, Become):
|
|||
raise AnsibleError("you must specify a value when using %s" % k, obj=ds)
|
||||
new_ds['loop_with'] = loop_name
|
||||
new_ds['loop'] = v
|
||||
# FIXME: reenable afte 2.5
|
||||
# display.deprecated("with_ type loops are being phased out, use the 'loop' keyword instead", version="2.10")
|
||||
|
||||
def preprocess_data(self, ds):
|
||||
|
@ -441,7 +440,7 @@ class Task(Base, Conditional, Taggable, Become):
|
|||
|
||||
if _parent and (value is None or extend):
|
||||
if getattr(_parent, 'statically_loaded', True):
|
||||
# vars are always inheritable, other attributes might not be for the partent but still should be for other ancestors
|
||||
# vars are always inheritable, other attributes might not be for the parent but still should be for other ancestors
|
||||
if attr != 'vars' and hasattr(_parent, '_get_parent_attribute'):
|
||||
parent_value = _parent._get_parent_attribute(attr)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue