# Ansible - Display message color

**URL:** <https://forum.ansible.com/t/ansible-display-message-color/31868>\
**Category:** Ansible Project\
**Created:** [December 24, 2019, 8:44am UTC](https://forum.ansible.com/t/ansible-display-message-color/31868 "2019-12-24T08:44:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karther](https://avatars.discourse-cdn.com/v4/letter/k/3ec8ea/32.png) [@Karther](https://forum.ansible.com/u/Karther)\
**Post date:** [December 24, 2019, 8:44am UTC](https://forum.ansible.com/t/ansible-display-message-color/31868/1 "2019-12-24T08:44:21Z")

</div>

Hey !!!

I want to know if possible display message with module **debug: msg=“my first message an color red”**

I don’t know if there is argument color: red or other argument for specify only one task message is an color …

Can you help me please ???!

Thank you very much community Ansible !!! =)

Best Regards,

Karther

---

<div class="post-metadata">

**Author:** ![vbotka](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/vbotka/32/359_2.png) [@vbotka](https://forum.ansible.com/u/vbotka)\
**Post date:** [December 24, 2019, 4:44pm UTC](https://forum.ansible.com/t/ansible-display-message-color/31868/2 "2019-12-24T16:44:16Z")

</div>

> I want to know if possible display message with module \*debug: msg="my  
> first message an color red"\*

Yes. It's possible. Set "ok = red" in ansible.cfg or export  
"ANSIBLE\_COLOR\_OK=red". See "COLOR\_OK"  
[https://docs.ansible.com/ansible/latest/reference\_appendices/config.html#color-ok](https://docs.ansible.com/ansible/latest/reference_appendices/config.html#color-ok)

> I don't know if there is argument color: red or other argument for specify  
> only one task message is an color ....

No. There is no such argument. It's not possible to specify a color for one  
task only. See "Callback Plugins"  
[https://docs.ansible.com/ansible/latest/plugins/callback.html#callback-plugins](https://docs.ansible.com/ansible/latest/plugins/callback.html#callback-plugins)  
[https://github.com/ansible/ansible/tree/devel/lib/ansible/plugins/callback](https://github.com/ansible/ansible/tree/devel/lib/ansible/plugins/callback)

Cheers,

&nbsp;&nbsp;-vlado
