I used callback_whitelist = profile_tasks 

You can set it in ansible.cfg. 

That can solve your problem i guess.

On Wednesday, March 21, 2018 at 3:57:59 AM UTC+5:30, ordered...@gmail.com 
> I want to set it up so there is a current ansible playbook run timestamp 
> set at the start of every playbook run so I can use this var in various 
> roles.
> The only way so far I have found is to set a pre_task with set fact in 
> every playbook.
> Does anyone have any suggestions or information on a current playbook run 
> start timestamp or a way to set this var so that I dont need to add the 
> set_fact to every playbook?

You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to