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

Not working on ansible 2.1.2.0

Open arielman opened this issue 7 years ago • 1 comments

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 avatar May 24 '17 21:05 arielman

@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.

See https://github.com/ansible/ansible/pull/11625

aioue avatar Jul 07 '17 16:07 aioue