From a5d9aa2e0143636a1f05101ca037c19a8e6676a0 Mon Sep 17 00:00:00 2001 From: Don Naro Date: Wed, 21 Feb 2024 09:21:31 +0000 Subject: [PATCH] Merge pull request #1119 from tomkivlin/tomkivlin-patch-1 Add note explaining injected task has always tag (cherry picked from commit 10fcdc09450a6da86610776429ce15e90ca1f2fa) --- docs/docsite/rst/playbook_guide/playbooks_reuse_roles.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/docsite/rst/playbook_guide/playbooks_reuse_roles.rst b/docs/docsite/rst/playbook_guide/playbooks_reuse_roles.rst index d33a52e9c78..41dd0ad80dd 100644 --- a/docs/docsite/rst/playbook_guide/playbooks_reuse_roles.rst +++ b/docs/docsite/rst/playbook_guide/playbooks_reuse_roles.rst @@ -269,6 +269,11 @@ validation, the role will fail execution. then validation on those dependencies will run before the dependent role, even if argument validation fails for the dependent role. +.. note:: + + Ansible tags the inserted role argument validation task with :ref:`always `. + If the role is :ref:`statically imported ` this task runs unless you use the ``--skip-tags`` flag. + Specification format --------------------