until is also implicit (#78632)

The until keyword templating is also implicit, this will now reflect in the docs
pull/78664/head
Brian Coca 2 years ago committed by GitHub
parent d8cb9117ac
commit 0c57734819
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,2 @@
bugfixes:
- ansible-doc will now also display until as an 'implicit' templating keyword.

@ -603,7 +603,9 @@ class DocCLI(CLI, RoleMixin):
kdata['type'] = getattr(fa, 'isa', 'string')
if keyword.endswith('when'):
if keyword.endswith('when') or keyword in ('until',):
# TODO: make this a field attribute property,
# would also helps with the warnings on {{}} stacking
kdata['template'] = 'implicit'
elif getattr(fa, 'static'):
kdata['template'] = 'static'

Loading…
Cancel
Save