Add profile_tasks and timer callbacks for ansible

These add extra datetime information to tasks, in an effort to help
profile ansible. More info at:

  https://docs.ansible.com/ansible/2.5/plugins/callback/profile_tasks.html
  https://docs.ansible.com/ansible/2.5/plugins/callback/timer.html

Change-Id: Iebd40bfe06484ec1c6f938570eb6cb60e532fb9f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
changes/40/597240/2
Paul Belanger 5 years ago
parent 62a74b0630
commit ad0e8bd241

@ -3,6 +3,7 @@ inventory=/opt/system-config/inventory/openstack.yaml,/opt/system-config/invento
library=/usr/share/ansible
log_path=/var/log/ansible/ansible.log
callback_plugins=/etc/ansible/callback_plugins
callback_whitelist=profile_tasks, timer
inventory_plugins=/etc/ansible/inventory_plugins
roles_path=/opt/system-config/roles:/etc/ansible/roles
retry_files_enabled=False
@ -11,7 +12,6 @@ gathering=smart
fact_caching=jsonfile
fact_caching_connection=/var/cache/ansible/facts
[inventory]
enable_plugins=openstack,constructed,yaml,advanced_host_list,ini
cache=True

Loading…
Cancel
Save