summaryrefslogtreecommitdiffstats
path: root/hacking/templates
diff options
context:
space:
mode:
authorBrian Coca <brian.coca+git@gmail.com>2016-02-25 22:41:50 +0100
committerBrian Coca <brian.coca+git@gmail.com>2016-02-25 22:48:37 +0100
commitfbdcb22e36f6aeb01e10f972b8a4e7d691b1f908 (patch)
treef1e9628a11b8b88fa5d791bd395b90a37571d27a /hacking/templates
parentRework the way ad-hoc filters inventory to match how cli/playbook does it (diff)
downloadansible-fbdcb22e36f6aeb01e10f972b8a4e7d691b1f908.tar.xz
ansible-fbdcb22e36f6aeb01e10f972b8a4e7d691b1f908.zip
now generate list of playbook ojbect directives
TODO: needs links/info and conditionals added
Diffstat (limited to 'hacking/templates')
-rw-r--r--hacking/templates/playbooks_directives.rst.j219
1 files changed, 19 insertions, 0 deletions
diff --git a/hacking/templates/playbooks_directives.rst.j2 b/hacking/templates/playbooks_directives.rst.j2
new file mode 100644
index 0000000000..0dc9408e43
--- /dev/null
+++ b/hacking/templates/playbooks_directives.rst.j2
@@ -0,0 +1,19 @@
+Directives Glossary
+===================
+
+Here we list the common playbook objects and the possible directives that can be used with them.
+Note that not all directives affect the object itself and might just be there to be inherited by other contained objects.
+
+.. contents::
+ :local:
+ :depth: 1
+
+{% for name in oblist %}
+
+{{ name }}
+{{ '-' * name|length }}
+{% for attribute in oblist[name].__dict__['_attributes']|sort %}
+ * {{ attribute }}
+{% endfor %}
+
+{% endfor %}