summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Coca <bcoca@users.noreply.github.com>2025-01-09 22:18:23 +0100
committerGitHub <noreply@github.com>2025-01-09 22:18:23 +0100
commit477433c5ba9135744a690dfb1abb26aa851aea05 (patch)
treec4244eb9d77966e32a1a88f7dc7964f7c66e3c7f
parentFIX get_options function for CallbackBase (#84496) (diff)
downloadansible-477433c5ba9135744a690dfb1abb26aa851aea05.tar.xz
ansible-477433c5ba9135744a690dfb1abb26aa851aea05.zip
constructed, let users know some limitations (#84510)
* constructed, let users know some limitations reasons https://forum.ansible.com/t/debugging-constructed-inventory-constructing-group-from-values-of-host-variables/39443 * fix indent * Update lib/ansible/plugins/doc_fragments/constructed.py Co-authored-by: Felix Fontein <felix@fontein.de> * updated as per fb --------- Co-authored-by: Felix Fontein <felix@fontein.de>
-rw-r--r--lib/ansible/plugins/doc_fragments/constructed.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ansible/plugins/doc_fragments/constructed.py b/lib/ansible/plugins/doc_fragments/constructed.py
index 00f8bae414..47d65c0b06 100644
--- a/lib/ansible/plugins/doc_fragments/constructed.py
+++ b/lib/ansible/plugins/doc_fragments/constructed.py
@@ -79,4 +79,8 @@ options:
type: boolean
default: True
version_added: '2.11'
+notes:
+ - Inventories are not finalized at this stage, so the auto populated C(all) and C(ungrouped) groups will
+ only reflect what previous inventory sources explicitly added to them.
+ - Runtime 'magic variables' are not available during inventory construction. For example, C(groups) and C(hostvars) do not exist yet.
"""