diff options
author | Sloane Hertel <shertel@redhat.com> | 2020-06-17 14:57:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-17 11:57:30 -0700 |
commit | 1f3185d3ebf694e9ac28dc7e6f5b0f478e939d17 (patch) | |
tree | 8751259347887d5f5e0a0569a371dafdfa25f401 /docs | |
parent | b8a81973eef15d13def0b88f243cf8e5a0b79bef (diff) | |
download | ansible-1f3185d3ebf694e9ac28dc7e6f5b0f478e939d17.tar.gz |
Allow tasks to notify a fqcn handler name (#68213) (#70074)
* Allow tasks to notify a fqcn handler name
* Add tests. Fixes #68181
* Add changelog fragment
* Add test to ensure handlers are deduped properly with fqcn, role, and just handler names
* Add some docs about new special vars
(cherry picked from commit 087be1da5065f70bff89e1cff7af042d80ed0acc)
Co-authored-by: Matt Martz <matt@sivel.net>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/docsite/rst/reference_appendices/special_variables.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/docsite/rst/reference_appendices/special_variables.rst b/docs/docsite/rst/reference_appendices/special_variables.rst index f46ce6b030..060feafb23 100644 --- a/docs/docsite/rst/reference_appendices/special_variables.rst +++ b/docs/docsite/rst/reference_appendices/special_variables.rst @@ -64,6 +64,12 @@ ansible_role_names The names of the roles currently imported into the current play, or roles referenced as dependencies of the roles imported into the current play. +ansible_role_name + The fully qualified collection role name, in the format of ``namespace.collection.role_name`` + +ansible_collection_name + The name of the collection the task that is executing is a part of. In the format of ``namespace.collection`` + ansible_run_tags Contents of the ``--tags`` CLI option, which specifies which tags will be included for the current run. |