You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The file at install_files/ansible-base/callback_plugins/profile_tasks.py was added via #1196, to provide additional information on task performance, with the goal of aiding developers in improving the server config workflow. Since we moved to Ansible v2 in #1146, the hardcoded plugin is no longer necessary.
Instead, we can ansible add a lint to ansible.cfg under [defaults]:
With the release of Ansible v2, "profile_tasks" is part of Ansible core.
Replacing hard-coded plugin code with appropriate Ansible configuration.
Resolves: freedomofpress#2943
With the release of Ansible v2, "profile_tasks" is part of Ansible core.
Replacing hard-coded plugin code with appropriate Ansible configuration.
Resolves: #2943
Feature request
Description
The file at
install_files/ansible-base/callback_plugins/profile_tasks.py
was added via #1196, to provide additional information on task performance, with the goal of aiding developers in improving the server config workflow. Since we moved to Ansible v2 in #1146, the hardcoded plugin is no longer necessary.Instead, we can ansible add a lint to
ansible.cfg
under[defaults]
:The simplification is possible because task profiling was added to Ansible core as of v2.
User Stories
As a maintainer, I want to delete redundant code wherever possible, and lean on upstream to handle core functionality when appropriate.
The text was updated successfully, but these errors were encountered: