summaryrefslogtreecommitdiffstats
path: root/docs/templates/playbooks_keywords.rst.j2
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 16:04:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 16:04:21 +0000
commit8a754e0858d922e955e71b253c139e071ecec432 (patch)
tree527d16e74bfd1840c85efd675fdecad056c54107 /docs/templates/playbooks_keywords.rst.j2
parentInitial commit. (diff)
downloadansible-core-8a754e0858d922e955e71b253c139e071ecec432.tar.xz
ansible-core-8a754e0858d922e955e71b253c139e071ecec432.zip
Adding upstream version 2.14.3.upstream/2.14.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'docs/templates/playbooks_keywords.rst.j2')
-rw-r--r--docs/templates/playbooks_keywords.rst.j233
1 files changed, 33 insertions, 0 deletions
diff --git a/docs/templates/playbooks_keywords.rst.j2 b/docs/templates/playbooks_keywords.rst.j2
new file mode 100644
index 0000000..8d42267
--- /dev/null
+++ b/docs/templates/playbooks_keywords.rst.j2
@@ -0,0 +1,33 @@
+.. _playbook_keywords:
+
+Playbook Keywords
+=================
+
+These are the keywords available on common playbook objects. Keywords are one of several sources for configuring Ansible behavior. See :ref:`general_precedence_rules` for details on the relative precedence of each source.
+
+
+.. note:: Please note:
+
+ * Aliases for the directives are not reflected here, nor are mutable one. For example,
+ :term:`action` in task can be substituted by the name of any Ansible module.
+ * The keywords do not have ``version_added`` information at this time
+ * Some keywords set defaults for the objects inside of them rather than for the objects
+ themselves
+
+
+.. contents::
+ :local:
+ :depth: 1
+
+{% for name in playbook_class_names %}
+
+{{ name }}
+{{ '-' * name|length }}
+{#.. glossary::#}
+
+{% for attribute in pb_keywords[name]|sort %}
+ {{ attribute }}
+ {{ pb_keywords[name][attribute] |indent(8) }}
+
+{% endfor %}
+{% endfor %}