Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support callbacks in ansible-core>=2.15 #851

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

jmeixensperger
Copy link
Contributor

Found after upgrading to ansible-core 2.15

The callback_whitelist key was deprecated in favor of the new callbacks_enabled key (mentioned here: https://docs.ansible.com/ansible/latest/porting_guides/porting_guide_8.html#id60)

This ensures that we print the time each play takes in the summary of the ansible execution.

@jmeixensperger jmeixensperger requested a review from a team as a code owner July 8, 2024 20:46
@@ -16,6 +16,7 @@ retry_files_save_path = /opt/container_artifact/ansible-retry
system_warnings = True
hash_behaviour = merge
callback_whitelist = profile_tasks

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but why it is still there?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It ensures that callbacks still work for older ansible versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants