Skip to content

Commit a20323d

Browse files
samccanndrTr0jan
andauthored
config: small typo fix (#74845) (#75864)
(cherry picked from commit 99a983c) Co-authored-by: Boris Korzun <[email protected]>
1 parent a22fb92 commit a20323d

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bugfixes:
2+
- config - use ``callbacks_enabled`` instead ``callback_enabled`` in a deprecated message (https://github.com/ansible/ansible/issues/70028).

docs/docsite/rst/plugins/callback.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Most callbacks shipped with Ansible are disabled by default and need to be enabl
3434

3535
.. code-block:: ini
3636
37-
#callback_enabled = timer, mail, profile_roles, collection_namespace.collection_name.custom_callback
37+
#callbacks_enabled = timer, mail, profile_roles, collection_namespace.collection_name.custom_callback
3838
3939
Setting a callback plugin for ``ansible-playbook``
4040
--------------------------------------------------

examples/ansible.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
# by default.
8585
#
8686
# Enable callback plugins, they can output to stdout but cannot be 'stdout' type.
87-
#callback_enabled = timer, mail
87+
#callbacks_enabled = timer, mail
8888

8989
# Determine whether includes in tasks and handlers are "static" by
9090
# default. As of 2.0, includes are dynamic by default. Setting these

lib/ansible/config/base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ CALLBACKS_ENABLED:
588588
deprecated:
589589
why: normalizing names to new standard
590590
version: "2.15"
591-
alternatives: 'callback_enabled'
591+
alternatives: 'callbacks_enabled'
592592
- key: callbacks_enabled
593593
section: defaults
594594
version_added: '2.11'

0 commit comments

Comments
 (0)