Skip to content

Commit 10fcdc0

Browse files
authored
Merge pull request #1119 from tomkivlin/tomkivlin-patch-1
Add note explaining injected task has always tag
2 parents e118479 + d38599e commit 10fcdc0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/docsite/rst/playbook_guide/playbooks_reuse_roles.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,11 @@ validation, the role will fail execution.
269269
then validation on those dependencies will run before the dependent role, even if argument validation fails
270270
for the dependent role.
271271

272+
.. note::
273+
274+
Ansible tags the inserted role argument validation task with :ref:`always <special_tags>`.
275+
If the role is :ref:`statically imported <dynamic_vs_static>` this task runs unless you use the ``--skip-tags`` flag.
276+
272277
Specification format
273278
--------------------
274279

0 commit comments

Comments
 (0)