Closed evgeni closed 1 year ago
human_log
issue is being addressed in #436 by dropping the callbackprofile_tasks
one, as that is not available by default anyway@ehelms @ekohl thoughts?
The later is now fixed via https://github.com/RedHatSatellite/satellite-clone/pull/437
I consider this issue fixed
With the ansible packaging re-shuffling, we now have a plain
ansible-core
in EL 8.6+ and should try to be compatible with that.While running in such a setup, I've seen the following warnings:
[DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in version 2.15
.[WARNING]: Skipping callback plugin 'profile_tasks', unable to load
[WARNING]: Failure using method (v2_runner_on_failed) in callback plugin (<ansible.plugins.callback.human_log.CallbackModule object at 0x7f3b291123d0>): name 'unicode' is not defined
The deprecation warning is harmless for now.
The
profile_tasks
callback has been moved to theansible.posix
collection which isn't available by default tocore
users. We don't strictly need it, but it also doesn't hurt as Ansible just ignores the setting.The
human_log
callback is the one we ship incallback_plugins
and that's just plain incompatible with Python 3. Again, no functional problem as Ansible is smart enough to ignore it. The normal guideline is to just replacehuman_log
withdebug
as that has all the same output and was part of Ansible since 2.2, but that's also only in theansible.posix
collection and thus not available if you havecore
only. Annoyingly, we can't just configure thedebug
callback for users who have it, as there is no fallback for thestdout_callback
setting and Ansible errors out:ERROR! Invalid callback for stdout specified: debug