Skip to content

Deprecation warning: callback_whitelist option, normalizing names to new standard, use callback_enabled instead #123

@ashleykleynhans

Description

@ashleykleynhans
SUMMARY

Ansible is generating warnings saying that callback_whitelist is deprecated and to use callback_enabled instead:

[DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callback_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
ISSUE TYPE
  • Bug Report
COMPONENT NAME
  • ansible-role-java 7.1.1
ANSIBLE VERSION
ansible [core 2.11.2]
  config file = /home/f5331870/digital-ansible/ansible.cfg
  configured module search path = ['/home/f5331870/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/f5331870/.cache/venv/mobile-ansible-core-3.8/lib64/python3.8/site-packages/ansible
  ansible collection location = /home/f5331870/.ansible/collections:/usr/share/ansible/collections
  executable location = /home/f5331870/.cache/venv/mobile-ansible-core-3.8/bin/ansible
  python version = 3.8.6 (default, Oct 27 2020, 09:13:12) [GCC 9.3.1 20200408 (Red Hat 9.3.1-2)]
  jinja version = 3.0.1
  libyaml = True
CONFIGURATION
[DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callback_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
ANSIBLE_NOCOWS(/home/f5331870/digital-ansible/ansible.cfg) = True
CACHE_PLUGIN(/home/f5331870/digital-ansible/ansible.cfg) = redis
CACHE_PLUGIN_CONNECTION(/home/f5331870/digital-ansible/ansible.cfg) = localhost:6379:0
CACHE_PLUGIN_TIMEOUT(/home/f5331870/digital-ansible/ansible.cfg) = 86400
CALLBACKS_ENABLED(/home/f5331870/digital-ansible/ansible.cfg) = ['profile_tasks']
DEFAULT_BECOME(/home/f5331870/digital-ansible/ansible.cfg) = False
DEFAULT_FORKS(/home/f5331870/digital-ansible/ansible.cfg) = 100
DEFAULT_HOST_LIST(/home/f5331870/digital-ansible/ansible.cfg) = ['/home/f5331870/digital-ansible/inventories/manual_inventory_int.ini']
DEFAULT_LOG_PATH(/home/f5331870/digital-ansible/ansible.cfg) = /home/f5331870/digital-ansible/.logs/ansible.log
DEFAULT_ROLES_PATH(/home/f5331870/digital-ansible/ansible.cfg) = ['/home/f5331870/digital-ansible/roles_external', '/home/f5331870/digital-ansible/roles']
DEFAULT_TIMEOUT(/home/f5331870/digital-ansible/ansible.cfg) = 180
DEFAULT_VAULT_PASSWORD_FILE(/home/f5331870/digital-ansible/ansible.cfg) = /home/f5331870/digital-ansible/vault/vault-nonprod.txt
HOST_KEY_CHECKING(/home/f5331870/digital-ansible/ansible.cfg) = False
INTERPRETER_PYTHON(/home/f5331870/digital-ansible/ansible.cfg) = auto_silent
INVENTORY_CACHE_ENABLED(/home/f5331870/digital-ansible/ansible.cfg) = True
INVENTORY_CACHE_PLUGIN(/home/f5331870/digital-ansible/ansible.cfg) = redis
RETRY_FILES_ENABLED(/home/f5331870/digital-ansible/ansible.cfg) = True
RETRY_FILES_SAVE_PATH(/home/f5331870/digital-ansible/ansible.cfg) = /home/f5331870/.ansible-retry
OS / ENVIRONMENT
LSB Version:	:core-4.1-amd64:core-4.1-noarch
Distributor ID:	CentOS
Description:	CentOS Linux release 7.9.2009 (Core)
Release:	7.9.2009
Codename:	Core
STEPS TO REPRODUCE

Run any playbook.

EXPECTED RESULTS

NO deprecation warning.

ACTUAL RESULTS

Deprecation warning.

[DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callback_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions