From 3e28ee0fd473d8ebff115680e3d844b0426808d1 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 25 Feb 2016 19:58:27 -0500 Subject: [PATCH] avoid printing internal loop and loop_args --- hacking/templates/playbooks_directives.rst.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hacking/templates/playbooks_directives.rst.j2 b/hacking/templates/playbooks_directives.rst.j2 index 0dc9408e430..6f0528cefed 100644 --- a/hacking/templates/playbooks_directives.rst.j2 +++ b/hacking/templates/playbooks_directives.rst.j2 @@ -13,7 +13,9 @@ Note that not all directives affect the object itself and might just be there to {{ name }} {{ '-' * name|length }} {% for attribute in oblist[name].__dict__['_attributes']|sort %} +{% if attribute not in ['loop', 'loop_args'] %} * {{ attribute }} +{% endif %} {% endfor %} {% endfor %}