When I use both profile_tasks and profile_roles in my ansible.cfg I get two 
headers lines.  How do I trim that down to just one (or none just for 
knowledge's sake)?

For example I only want one header line with the date time and elapsed time 
(Wednesday 03 August 22 12:30:29).

----- Example Output

TASK [Looped results.] 
****************************************************************************************************************************************************************************
Wednesday 03 August 2022  12:30:29 -0500 (0:00:00.109)       0:00:00.943 
****** 
Wednesday 03 August 2022  12:30:29 -0500 (0:00:00.109)       0:00:00.943 
****** 
ok: [localhost] => (item=) => {
    "msg": "whoami - jgraceadmin\n."
}
ok: [localhost] => (item=) => {
    "msg": "who am i - ."
}

PLAY RECAP 
****************************************************************************************************************************************************************************************
localhost                  : ok=3    changed=1    unreachable=0    failed=0 
   skipped=0    rescued=0    ignored=0   

Wednesday 03 August 2022  12:30:29 -0500 (0:00:00.111)       0:00:01.054 
****** 
=============================================================================== 

shell ------------------------------------------------------------------- 
0.80s
debug ------------------------------------------------------------------- 
0.11s
ansible.builtin.debug --------------------------------------------------- 
0.11s
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

total ------------------------------------------------------------------- 
1.02s
Wednesday 03 August 2022  12:30:29 -0500 (0:00:00.111)       0:00:01.054 
****** 
=============================================================================== 

Shell commands. 
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
0.80s
Debug data piping 
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
0.11s
Looped results. 
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
0.11s

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/50cd8adb-7745-42fa-8901-5bbcafd20e50n%40googlegroups.com.

Reply via email to