diff --git a/hacking/templates/playbooks_directives.rst.j2 b/hacking/templates/playbooks_directives.rst.j2 index 0dc9408e43..6f0528cefe 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 %}