ansible-bender icon indicating copy to clipboard operation
ansible-bender copied to clipboard

Drop callback_whitelist configuration once Ansible 2.15 is released

Open TomasTomecek opened this issue 2 years ago • 2 comments

# callback_whitelist got renamed to callbacks_enabled in ansible
# drop callback_whitelist once 2.15 is released

Do we have a task/issue for this? Could be useful, as at > least I, often forget notes like this in the source code 🙂

Originally posted by @themkat in https://github.com/ansible-community/ansible-bender/pull/269#discussion_r893693033

TomasTomecek avatar Jun 09 '22 16:06 TomasTomecek

The actual criterion for removing this is support for ansible-playbook < 2.11; the release of 2.15 will not require you to remove this setting if you're still supporting ancient versions. On the other hand, if you only support versions of ansible-playbook that have upstream support you could remove the setting today, as 2.10 reached EOL months ago.

flowerysong avatar Oct 22 '22 18:10 flowerysong

I honestly don't know how people are installing ansible CLI tool and how conservative one needs to be in terms of support for old versions.

I just checked Fedora and...

OS Ansible version
Fedora 38 ansible-7.0.0~rc1-1.fc38
Fedora 37 ansible-7.0.0~b1-1.fc37
Fedora 36 ansible-5.9.0-1.fc36
Fedora 35 ansible-2.9.27-4.fc35
Fedora EPEL 9 ansible-5.4.0-3.el9
Fedora EPEL 8 ansible-6.3.0-1.el8
Fedora EPEL 7 ansible-2.9.27-1.el7

I think callback_whitelist can now be safely removed in the next ansible-bender version.

TomasTomecek avatar Nov 23 '22 15:11 TomasTomecek