# Double Headers when using both profile\_tasks and profile\_roles

**URL:** <https://forum.ansible.com/t/double-headers-when-using-both-profile-tasks-and-profile-roles/36942>\
**Category:** Ansible Project\
**Created:** [August 3, 2022, 5:32pm UTC](https://forum.ansible.com/t/double-headers-when-using-both-profile-tasks-and-profile-roles/36942 "2022-08-03T17:32:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jay\_Grace](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@Jay\_Grace](https://forum.ansible.com/u/Jay_Grace)\
**Post date:** [August 3, 2022, 5:32pm UTC](https://forum.ansible.com/t/double-headers-when-using-both-profile-tasks-and-profile-roles/36942/1 "2022-08-03T17:32:02Z")

</div>

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 \*\*\*\*\*\*

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [August 3, 2022, 6:21pm UTC](https://forum.ansible.com/t/double-headers-when-using-both-profile-tasks-and-profile-roles/36942/2 "2022-08-03T18:21:02Z")

</div>

use only one?

the callback plugins have no clue about each other, they each work independantly
