Open arielman opened 7 years ago
I'm a bit confused. in README.rst its mentioned: This plugin is included in Ansible 2.0, and can be enabled by adding this line to ansible.cfg
but in one of the closed issues its mentioned: In case someone ends up here. With version 2.0 there is example of such callback over here https://github.com/ansible/ansible/blob/devel/lib/ansible/plugins/callback/profile_tasks.py
in order to enable it You need to copy it callback_plugins folder and add following line to ansible.cfg callback_whitelist = profile_tasks
and also in the below link its written add ansible 2 support https://github.com/jlafon/ansible-profile/tree/master/callback_plugins
so should I copy the folder for 2.1.2.0 or not?
@arielman this plugin was merged into the official Ansible repo in version 2. You don't need to copy any files - just add the callback_whitelist = profile_tasks to ansible.cfg.
callback_whitelist = profile_tasks
ansible.cfg
See https://github.com/ansible/ansible/pull/11625
I'm a bit confused. in README.rst its mentioned: This plugin is included in Ansible 2.0, and can be enabled by adding this line to ansible.cfg
but in one of the closed issues its mentioned: In case someone ends up here. With version 2.0 there is example of such callback over here https://github.com/ansible/ansible/blob/devel/lib/ansible/plugins/callback/profile_tasks.py
in order to enable it You need to copy it callback_plugins folder and add following line to ansible.cfg callback_whitelist = profile_tasks
and also in the below link its written add ansible 2 support https://github.com/jlafon/ansible-profile/tree/master/callback_plugins
so should I copy the folder for 2.1.2.0 or not?